From: Daniel Veillard Date: Wed, 3 Mar 2010 10:55:06 +0000 (+0100) Subject: Fix LSB compliance of init script X-Git-Tag: v0.8.0~275 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1216398da92fe18901b63572fa01e9d7ac458ec2;p=thirdparty%2Flibvirt.git Fix LSB compliance of init script https://bugzilla.redhat.com/show_bug.cgi?id=538701 * daemon/libvirtd.init.in: daemon/libvirtd.init.in were not mentionned in the usage message and if a missing or wrong argument is given it should return 2, not 1 --- diff --git a/daemon/libvirtd.init.in b/daemon/libvirtd.init.in index b808ab352e..4c8821b2ce 100644 --- a/daemon/libvirtd.init.in +++ b/daemon/libvirtd.init.in @@ -106,8 +106,8 @@ case "$1" in [ -f @localstatedir@/lock/subsys/$SERVICE ] && restart || : ;; *) - echo $"Usage: $0 {start|stop|status|restart|condrestart|reload}" - exit 1 + echo $"Usage: $0 {start|stop|status|restart|condrestart|reload|force-reload|try-restart}" + exit 2 ;; esac exit $RETVAL