commit | 418d0e70fa161434340410ae286a97b5325c8a2f | [log] [download] |
---|---|---|
author | Kir Kolyshkin <kir@openvz.org> | Fri Jun 22 17:06:12 2012 +0400 |
committer | Kir Kolyshkin <kir@openvz.org> | Fri Jun 22 17:22:22 2012 +0400 |
tree | 2a2a176d56a85199ebb751051823903a66d3f767 | |
parent | bae75d7dca231be29076f8d723c6e8096a370e2d [diff] |
real_env_stop(): return error if execvep() fails I was testing the previous patch by removing halt binary from a container, and found out that if execvep() fails we still return 0. Fix it. Note we do not check execvep() return code since if it succeeds it never returns. Signed-off-by: Kir Kolyshkin <kir@openvz.org>