[Pkg-samba-maint] r3935 - trunk/ctdb/debian
sathieu at alioth.debian.org
sathieu at alioth.debian.org
Wed Oct 19 17:22:18 UTC 2011
Author: sathieu
Date: 2011-10-19 17:22:17 +0000 (Wed, 19 Oct 2011)
New Revision: 3935
Modified:
trunk/ctdb/debian/ctdb.init
Log:
ctdb.init: use exit 2 for invalid usage, and redirect to stdout
See http://fedoraproject.org/wiki/Packaging:SysVInitScript#Exit_Codes_for_non-Status_Actions
Modified: trunk/ctdb/debian/ctdb.init
===================================================================
--- trunk/ctdb/debian/ctdb.init 2011-10-19 16:45:35 UTC (rev 3934)
+++ trunk/ctdb/debian/ctdb.init 2011-10-19 17:22:17 UTC (rev 3935)
@@ -467,8 +467,8 @@
# do nothing
;;
*)
- echo "Usage: \$0 {start|stop|restart|force-reload|status|cron|condrestart|try-restart}" >&2
- exit 1
+ echo "Usage: \$0 {start|stop|restart|force-reload|status|cron|condrestart|try-restart}"
+ exit 2
;;
esac
More information about the Pkg-samba-maint
mailing list