commit | 1a89ea43a652d3e3e839606d20f23888fcf58894 | [log] [download] |
---|---|---|
author | Kir Kolyshkin <kir@openvz.org> | Mon Apr 20 15:29:33 2015 -0700 |
committer | Kir Kolyshkin <kir@openvz.org> | Mon Apr 20 15:29:33 2015 -0700 |
tree | 33c408e8ec1d131ccb88d2f422847d6ee1b69bb6 | |
parent | 6031c647f972464fadd990ddb61105abbc89f0d5 [diff] |
init.d: exit code if vzctl or vz.conf not found In case vzctl binary of vz.conf global configuration file is not found, we should not exit with 0. Instead, use codes 5 "program is not installed" and 6 "program is not configured", as per LSB http://refspecs.linuxbase.org/LSB_3.1.1/LSB-Core-generic/LSB-Core-generic/iniscrptact.html https://bugzilla.openvz.org/show_bug.cgi?id=3195 Reported-by: nethubonline@gmail.com Signed-off-by: Kir Kolyshkin <kir@openvz.org>