- According to LSB, the init-script should return 2 in case of wrong syntax.

See http://refspecs.freestandards.org/LSB_3.2.0/LSB-Core-generic/LSB-Core-generic/iniscrptact.html

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>

git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1604 8eb893ce-cfd4-0310-b710-fb5ebe64c474
sayer/1.4-spce2.6
Peter Lemenkov 17 years ago
parent 96d6aeb59d
commit a8a0a3524c

@ -95,7 +95,7 @@ case "$1" in
;;
*)
echo $"Usage: $prog {start|stop|restart|force-reload|condrestart|try-restart|status|help}"
exit 1
RETVAL=2
esac
exit $RETVAL

Loading…
Cancel
Save