fix additional exit code to be LSB compliant... wrong params should result in 2

This commit is contained in:
Jan Šafránek 2009-09-14 13:46:46 +00:00
parent 114475e629
commit 8e774882db

View File

@ -47,6 +47,7 @@ diff -up freeipmi-0.7.12/ipmidetect/freeipmi-ipmidetectd.init.lsb freeipmi-0.7.1
*)
- echo "Usage: $0 {start|stop|restart|status|condrestart}"
+ echo "Usage: $0 {start|stop|restart|status|condrestart|force-reload|try-restart}"
exit 1
- exit 1
+ exit 2
esac
+exit $RETVAL