commit | 49bff887b543adf0dd349ccbd3756efbe4663497 | [log] [download] |
---|---|---|
author | Kir Kolyshkin <kir@openvz.org> | Wed Mar 16 12:48:11 2011 +0300 |
committer | Kir Kolyshkin <kir@openvz.org> | Wed Mar 16 13:21:43 2011 +0300 |
tree | 3b740fb4fa9fe992065c65cf346c63dd96d32570 | |
parent | 8f5e6fa0bce93b6ef19af4fe828799eb3ca2b37c [diff] |
vzctl runscript: fix logic Commit fd657abf12 changed the logic of handling wait_p file descriptor, but vps_run_script() was not changed to reflect the logic. So, now when a container is not running and we execute vzctl runscript, it ends up being half-started. Fix it. Signed-off-by: Kir Kolyshkin <kir@openvz.org>