commit | 735aff8f41d9716527384c9a375bf322284d5a6e | [log] [download] |
---|---|---|
author | Kir Kolyshkin <kir@openvz.org> | Thu Mar 31 06:25:20 2011 +0400 |
committer | Kir Kolyshkin <kir@openvz.org> | Thu Mar 31 06:25:20 2011 +0400 |
tree | 21ba1640039ab92198af3765b7c82c8a73ab733f | |
parent | 9d2ba6ee1af1ec9ec3e7c8495697a6e72398d579 [diff] |
env_set_vcpus(): fix error return code In case we fail to set VCPUs, return proper error code since it is used as an exit code by vzctl. Here's one of the code propagation paths: main() run_action() start() vps_start() vps_start_custom() vps_setup_res() vps_set_cpu() env_set_vcpus() Signed-off-by: Kir Kolyshkin <kir@openvz.org>