r8499 - in trunk/bootscripts/contrib/lsb-v3: . init.d

dj at linuxfromscratch.org dj at linuxfromscratch.org
Sat Mar 15 22:51:24 PDT 2008


Author: dj
Date: 2008-03-15 23:51:24 -0600 (Sat, 15 Mar 2008)
New Revision: 8499

Modified:
   trunk/bootscripts/contrib/lsb-v3/Changelog
   trunk/bootscripts/contrib/lsb-v3/init.d/lfs-functions
Log:
replaced exit with retrun in statusproc()

Modified: trunk/bootscripts/contrib/lsb-v3/Changelog
===================================================================
--- trunk/bootscripts/contrib/lsb-v3/Changelog	2008-03-16 04:51:44 UTC (rev 8498)
+++ trunk/bootscripts/contrib/lsb-v3/Changelog	2008-03-16 05:51:24 UTC (rev 8499)
@@ -1,6 +1,7 @@
 Change Log
 
 20080315 - [dj] * Corrected test for $pidfile in pidofproc()
+                * Replaced exit with return in statusproc() - (lfs-functions)
 
 20080315 - [dj] * Added missing 'stale pid file' checking for pidofproc()
 

Modified: trunk/bootscripts/contrib/lsb-v3/init.d/lfs-functions
===================================================================
--- trunk/bootscripts/contrib/lsb-v3/init.d/lfs-functions	2008-03-16 04:51:44 UTC (rev 8498)
+++ trunk/bootscripts/contrib/lsb-v3/init.d/lfs-functions	2008-03-16 05:51:24 UTC (rev 8499)
@@ -84,7 +84,7 @@
         log_warning_msg "Not running!"
     fi
 
-    exit "${STATUS}"
+    return "${STATUS}"
 }
 
 ############################### reloadproc() ##################################




More information about the lfs-book mailing list