]> git.pld-linux.org Git - projects/rc-scripts.git/commitdiff
Restore extra check.
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Mon, 24 Aug 2009 06:16:52 +0000 (06:16 +0000)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Mon, 24 Aug 2009 06:16:52 +0000 (06:16 +0000)
svn-id: @10491

rc.d/rc.sysinit

index a06e8ac87e5d01fc009c7487b1db6c019e72f7fa..a75851c3fa1112725bce8cb5783d22883c4e4b24 100755 (executable)
@@ -1000,9 +1000,9 @@ if ! is_no "$RC_PROMPT"; then
 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
This page took 0.230508 seconds and 4 git commands to generate.