SOURCES: xen-xend.init - reload must not restart service - exit 3 ...

qboosh qboosh at pld-linux.org
Wed Jul 26 16:23:24 CEST 2006


Author: qboosh                       Date: Wed Jul 26 14:23:24 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- reload must not restart service
- exit 3 from help

---- Files affected:
SOURCES:
   xen-xend.init (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: SOURCES/xen-xend.init
diff -u SOURCES/xen-xend.init:1.4 SOURCES/xen-xend.init:1.5
--- SOURCES/xen-xend.init:1.4	Wed Jul 26 16:15:24 2006
+++ SOURCES/xen-xend.init	Wed Jul 26 16:23:19 2006
@@ -53,15 +53,15 @@
   status)
 	/usr/sbin/xend status
 	;;
-  restart|reload|force-reload)
+  restart|force-reload)
   	$0 stop
 	$0 start
 	;;
   *)
 	# do not advertise unreasonable commands that there is no reason
 	# to use with this device
-	echo $"Usage: $0 {start|stop|status|restart|reload|force-reload}"
-	exit 1
+	echo $"Usage: $0 {start|stop|status|restart|force-reload}"
+	exit 3
 esac
 
 exit $RETVAL
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/xen-xend.init?r1=1.4&r2=1.5&f=u



More information about the pld-cvs-commit mailing list