[PATCH 34/42] multipath.init.suse: Update usage message

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The usage message in multipath.init.suse doesn't list 'reload'.
And 'reload' is a misnomer, as it's actually a restart.
So rename 'reload' to 'restart' and add to the usage message.

Signed-off-by: Hannes Reinecke <hare@xxxxxxx>
---
 multipath/multipath.init.suse |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/multipath/multipath.init.suse b/multipath/multipath.init.suse
index c7cd5c7..de1cc1f 100644
--- a/multipath/multipath.init.suse
+++ b/multipath/multipath.init.suse
@@ -146,12 +146,12 @@ case "$1" in
 	fi
 	rc_status -v
 	;;
-    reload)
+    restart)
 	$0 stop
 	$0 start
 	;;
     *)
-	echo "Usage: $0 {start|stop|status}"
+	echo "Usage: $0 {start|stop|status|restart}"
 	exit 1
 	;;
 esac
-- 
1.7.4.2

--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel


[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux