diff options
author | Roy Marples <roy@marples.name> | 2007-05-02 15:17:03 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2007-05-02 15:17:03 +0000 |
commit | e18377accad411d21f28cbd11e014a047c9946cc (patch) | |
tree | d4c3d5dad7218dbc1d060f09208d09bd84b53023 /src/rc.c | |
parent | 9ced77155ba7d143fa18c3645dc84b55b97c7b04 (diff) |
Don't timeout waiting for checkfs and checkroot. Do a better fix later.
Diffstat (limited to 'src/rc.c')
-rw-r--r-- | src/rc.c | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -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); |