commit | bae75d7dca231be29076f8d723c6e8096a370e2d | [log] [download] |
---|---|---|
author | Kir Kolyshkin <kir@openvz.org> | Fri Jun 22 15:53:57 2012 +0400 |
committer | Kir Kolyshkin <kir@openvz.org> | Fri Jun 22 16:47:44 2012 +0400 |
tree | 8769749171059c28b6aa563e4bdb5ac35a2bf618 | |
parent | 9363a78d62940aef028e7c64564aafa6405e6702 [diff] |
env_stop(): check child exit code, do not wait if non-zero In case real_env_stop() fails for any reason (such as when vz_setluid() fails), do not wait for environment to be stopped, fail right away. While at it, also: * log "Killing container" when we are going to kill it (such as when doing vzctl stop --fast) * only print "operation time out when it's really the case Reported-by: Glauber Costa <glommer@openvz.org> Signed-off-by: Kir Kolyshkin <kir@openvz.org>