commit | 51e5e8708c3a590dec70f38668894a3e06a70c0f | [log] [download] |
---|---|---|
author | Kir Kolyshkin <kir@openvz.org> | Fri Oct 16 18:00:22 2009 +0400 |
committer | Kir Kolyshkin <kir@openvz.org> | Fri Oct 16 18:00:22 2009 +0400 |
tree | 9f1bb51e6165b2daf078df69309ccd23353a98f4 | |
parent | 35c8a3e3c963446e98b087ea629f32647512af25 [diff] |
vzctl: report CT config saving error The return code from write_conf() was ignored, therefore even in case of some error we were still getting the message Saved parameters for CT NNN and 0 exit code from vzctl. Fix that, and introduce yet another exit code (139) for this particular error. Number 139 is chosen for compatibility with Parallels Containers. Man page is updated accordingly. Signed-off-by: Kir Kolyshkin <kir@openvz.org>