From e18377accad411d21f28cbd11e014a047c9946cc Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Wed, 2 May 2007 15:17:03 +0000 Subject: Don't timeout waiting for checkfs and checkroot. Do a better fix later. --- src/rc.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'src/rc.c') diff --git a/src/rc.c b/src/rc.c index 6b864ce0..0ecbb020 100644 --- a/src/rc.c +++ b/src/rc.c @@ -546,10 +546,12 @@ static void handle_signal (int sig) /* Only drop into single user mode if we're booting */ run = getenv ("RUNLEVEL"); prev = getenv ("PREVLEVEL"); - if ((prev && strcmp (prev, "S") == 0) || - (run && - (strcmp (run, "S") == 0 || - strcmp (run, "1") == 0))) + if ((prev && + (strcmp (prev, "S") == 0 || + strcmp (prev, "1") == 0)) || + (run && + (strcmp (run, "S") == 0 || + strcmp (run, "1") == 0))) single_user (); exit (EXIT_FAILURE); -- cgit v1.2.3