SOURCES: pound.init - skip start/stop if no instances left over from restar...

glen glen at pld-linux.org
Wed Jan 14 21:12:10 CET 2009


Author: glen                         Date: Wed Jan 14 20:12:10 2009 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- skip start/stop if no instances left over from restart config check

---- Files affected:
SOURCES:
   pound.init (1.21 -> 1.22) 

---- Diffs:

================================================================
Index: SOURCES/pound.init
diff -u SOURCES/pound.init:1.21 SOURCES/pound.init:1.22
--- SOURCES/pound.init:1.21	Wed Jan 14 17:34:37 2009
+++ SOURCES/pound.init	Wed Jan 14 21:12:05 2009
@@ -142,6 +142,8 @@
 
 		POUND_INSTANCES=$list
 
+		# nothing left or never was
+		[ "$list" ] || return
 	fi
 
 	stop
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/pound.init?r1=1.21&r2=1.22&f=u



More information about the pld-cvs-commit mailing list