See LSB for further details regarding init-script actions:
http://refspecs.linux-foundation.org/LS ... ptact.html
Signed-off-by: Peter Lemenkov
---
daemon-init.in | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/daemon-init.in b/daemon-init.in
index 98f35e5..6da9166 100644
--- a/daemon-init.in
+++ b/daemon-init.in
@@ -228,7 +228,7 @@ case "$1" in
*)
echo "Usage: nagios {start|stop|restart|reload|force-reload|status|checkconfig}"
- exit 1
+ exit 2
;;
esac
--
1.7.3.2
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]