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>
1 file changed