commit | 9d2ba6ee1af1ec9ec3e7c8495697a6e72398d579 | [log] [download] |
---|---|---|
author | Kir Kolyshkin <kir@openvz.org> | Thu Mar 31 06:05:15 2011 +0400 |
committer | Kir Kolyshkin <kir@openvz.org> | Thu Mar 31 06:06:24 2011 +0400 |
tree | f913a89d9cfef99b771b242a69bb0092e625ce63 | |
parent | 948f41624bdc8e9bf2d73794e2a5c51f96d6c257 [diff] |
run_script(): fix an error path 1. Do return proper error code, not -1, since it is used as vzctl exit code. 2. Restore the old child handler. Signed-off-by: Kir Kolyshkin <kir@openvz.org>