| commit | e25558b20354987002399971dfbf0b8237fe0559 | [log] [download] |
|---|---|---|
| author | Kir Kolyshkin <kir@openvz.org> | Tue Aug 23 19:35:23 2011 +0400 |
| committer | Kir Kolyshkin <kir@openvz.org> | Wed Aug 24 13:49:36 2011 +0400 |
| tree | 19ace50aa682be9f39d8623230c9c5f06e4b6e3e | |
| parent | c81b8fd627849da200f5cf27783f984995836c35 [diff] |
vzctl set: fix exit code in case of invalid veth params
Return code from check_veth_param() is used as vzctl exit code:
main()
run_action()
set()
check_veth_param()
So do return VZ_INVALID_PARAMETER_SYNTAX instead of -1.
Signed-off-by: Kir Kolyshkin <kir@openvz.org>