SOURCES: pound.init - output cosmetics

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


Author: glen                         Date: Wed Jan 14 20:14:30 2009 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- output cosmetics

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

---- Diffs:

================================================================
Index: SOURCES/pound.init
diff -u SOURCES/pound.init:1.22 SOURCES/pound.init:1.23
--- SOURCES/pound.init:1.22	Wed Jan 14 21:12:05 2009
+++ SOURCES/pound.init	Wed Jan 14 21:14:24 2009
@@ -138,12 +138,16 @@
 			configtest $instance || continue
 			list="$list $instance"
 		done
-		ok
-
-		POUND_INSTANCES=$list
 
 		# nothing left or never was
-		[ "$list" ] || return
+		if [ -z "$list" ]; then
+			fail
+			return
+		else
+			POUND_INSTANCES=$list
+			ok
+		fi
+
 	fi
 
 	stop
================================================================

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



More information about the pld-cvs-commit mailing list