mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +00:00
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
This commit is contained in:
parent
b62cab6e09
commit
1216398da9
@ -106,8 +106,8 @@ case "$1" in
|
|||||||
[ -f @localstatedir@/lock/subsys/$SERVICE ] && restart || :
|
[ -f @localstatedir@/lock/subsys/$SERVICE ] && restart || :
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo $"Usage: $0 {start|stop|status|restart|condrestart|reload}"
|
echo $"Usage: $0 {start|stop|status|restart|condrestart|reload|force-reload|try-restart}"
|
||||||
exit 1
|
exit 2
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
exit $RETVAL
|
exit $RETVAL
|
||||||
|
Loading…
x
Reference in New Issue
Block a user