commit | 1ef7a072a6da73c5d5124a0edd587d24d244c871 | [log] [download] |
---|---|---|
author | Kir Kolyshkin <kir@openvz.org> | Thu Mar 31 07:00:49 2011 +0400 |
committer | Kir Kolyshkin <kir@openvz.org> | Thu Mar 31 07:00:49 2011 +0400 |
tree | b703bab1460b47337137b786d8899c32eea9fcd2 | |
parent | 56bdaf27a7f32bf48db2796d45ecded63969ddc0 [diff] |
vzctl start: fix exit code if ioprio set failed Return code from ve_ioprio_set() is propagated all the way up to main() and is used as vzctl exit code: main() run_action() start() vps_start() vps_start_custom() vps_setup_res() ve_ioprio_set() So we ended up exiting with -1 (255) from vzctl if ioprio set failed. Fix it by introducing VZ_IO_SET. Document it in vzctl(8) man page. Signed-off-by: Kir Kolyshkin <kir@openvz.org>