SVN: rc-scripts/trunk/rc.d/rc.sysinit

arekm arekm at pld-linux.org
Mon Aug 24 08:16:53 CEST 2009


Author: arekm
Date: Mon Aug 24 08:16:52 2009
New Revision: 10491

Modified:
   rc-scripts/trunk/rc.d/rc.sysinit
Log:
Restore extra check.

Modified: rc-scripts/trunk/rc.d/rc.sysinit
==============================================================================
--- rc-scripts/trunk/rc.d/rc.sysinit	(original)
+++ rc-scripts/trunk/rc.d/rc.sysinit	Mon Aug 24 08:16:52 2009
@@ -1000,9 +1000,9 @@
 fi
 } &
 
-# extra check if the background process we just spawned is still running,
+# /proc extra check if the background process we just spawned is still running,
 # as in case of vserver bootup it finishes quite instantly.
-if ! is_no "$RC_PROMPT"; then
+if ! is_no "$RC_PROMPT" && [ -d /proc/$! ]; then
 	/sbin/getkey i && touch /var/run/confirm
 	touch /var/run/getkey_done
 fi


More information about the pld-cvs-commit mailing list