diff options
author | Ray Strode <rstrode@redhat.com> | 2010-11-15 14:01:50 -0500 |
---|---|---|
committer | Ray Strode <rstrode@redhat.com> | 2010-11-15 14:01:50 -0500 |
commit | 48f04ad1938e35bea987deee29a9ee9f94e52e3a (patch) | |
tree | 1700ddf8a1fcfa9082613935157fedaadae7f2c9 /src | |
parent | aba7c7b89fcbbfa516d86f50f7b89a593ca95303 (diff) |
main: don't pause on crash
plymouthd would previously pause() when crashing if debug
mode was enabled so that it could be attached to with a debugger.
pausing indefinitely during boot up is often a bad idea though.
This commit changes it to sleep 30 seconds instead.
Diffstat (limited to 'src')
-rw-r--r-- | src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1974,7 +1974,7 @@ on_crash (int signum) if (debug_buffer != NULL) { dump_debug_buffer_to_file (); - pause (); + sleep (30); } if (pid_file != NULL) |