SOURCES: rquotad.init - fix stupid bug

undefine undefine at pld-linux.org
Mon Feb 12 21:58:11 CET 2007


Author: undefine                     Date: Mon Feb 12 20:58:11 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- fix stupid bug

---- Files affected:
SOURCES:
   rquotad.init (1.12 -> 1.13) 

---- Diffs:

================================================================
Index: SOURCES/rquotad.init
diff -u SOURCES/rquotad.init:1.12 SOURCES/rquotad.init:1.13
--- SOURCES/rquotad.init:1.12	Fri Oct 13 17:12:45 2006
+++ SOURCES/rquotad.init	Mon Feb 12 21:58:05 2007
@@ -28,8 +28,8 @@
 	exit 0
 fi
 
-if [ -x /sbin/pidof ] && [ "$1" != "stop" ]; then
-	[ -z "`/sbin/pidof portmap`" ] && echo "Error: portmap isn't running"
+if [ -x /sbin/pidof ] && [ "$1" != "stop" ] && [ -z "`/sbin/pidof portmap`" ]; then
+	echo "Error: portmap isn't running"
 	exit 0
 fi
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/rquotad.init?r1=1.12&r2=1.13&f=u



More information about the pld-cvs-commit mailing list