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
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to