commit | 66c1ee0cae1096a0fc010286038080e853f2e6a8 | [log] [download] |
---|---|---|
author | Kir Kolyshkin <kir@openvz.org> | Wed Dec 28 17:32:34 2011 +0400 |
committer | Kir Kolyshkin <kir@openvz.org> | Wed Dec 28 17:32:34 2011 +0400 |
tree | d7cb152deb0a3808a397c1e6b0e8d71a9f2c42f0 | |
parent | 306616edf57af1e0cc5bab412f72be6e59ab7578 [diff] |
vzcfgvalidate: fix exit code in case validation failed vzcfgvalidate(8) manual page says exit code of 2 is expected in case configuration is invalid. Commit 95b0f03 accidentally broke that functionality, but even before it the exit code in this case was 1 not 2. Fix the behavior to comply with the man page. Signed-off-by: Kir Kolyshkin <kir@openvz.org>