r8497 - trunk/bootscripts/contrib/lsb-v3/lsb

dj at linuxfromscratch.org dj at linuxfromscratch.org
Sat Mar 15 21:49:43 PDT 2008


Author: dj
Date: 2008-03-15 22:49:42 -0600 (Sat, 15 Mar 2008)
New Revision: 8497

Modified:
   trunk/bootscripts/contrib/lsb-v3/lsb/init-functions
Log:
fixed incorrect test in pidofproc

Modified: trunk/bootscripts/contrib/lsb-v3/lsb/init-functions
===================================================================
--- trunk/bootscripts/contrib/lsb-v3/lsb/init-functions	2008-03-15 06:47:29 UTC (rev 8496)
+++ trunk/bootscripts/contrib/lsb-v3/lsb/init-functions	2008-03-16 04:49:42 UTC (rev 8497)
@@ -420,7 +420,7 @@
         fi
     done
 
-    if [ -z "${lpids}" -a -z "${pidfile}" ]; then
+    if [ -z "${lpids}" -a ! -f "${pidfile}" ]; then
         return 3
     else
         echo "${lpids}"




More information about the lfs-book mailing list