summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRay Strode <rstrode@redhat.com>2010-11-15 14:01:50 -0500
committerRay Strode <rstrode@redhat.com>2010-11-15 14:01:50 -0500
commit48f04ad1938e35bea987deee29a9ee9f94e52e3a (patch)
tree1700ddf8a1fcfa9082613935157fedaadae7f2c9 /src
parentaba7c7b89fcbbfa516d86f50f7b89a593ca95303 (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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index e003d997..b6ee8780 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1974,7 +1974,7 @@ on_crash (int signum)
if (debug_buffer != NULL)
{
dump_debug_buffer_to_file ();
- pause ();
+ sleep (30);
}
if (pid_file != NULL)