commit | e7c40ee697606e43d6242fd3c124e370588ae26f | [log] [download] |
---|---|---|
author | Kir Kolyshkin <kir@openvz.org> | Wed Mar 16 18:23:07 2011 +0300 |
committer | Kir Kolyshkin <kir@openvz.org> | Wed Mar 16 18:23:07 2011 +0300 |
tree | 974e9a6e4ae5568ff81053ba8f6cdbdcd66f1c03 | |
parent | 20256d0c0c07278bd5ed5c7f954046a63db1f37f [diff] |
vzctl exec: fix for bash-4.2 Just before exec'ing bash we need to close all fds except for stdin/out/err. Earlier versions of bash did that for us so the bug went unnoticed. http://bugzilla.openvz.org/1812 Reported-by: michaelk@linuxmail.org Signed-off-by: Kir Kolyshkin <kir@openvz.org>