fix additional exit code to be LSB compliant... wrong params should result in 2
This commit is contained in:
parent
114475e629
commit
8e774882db
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user