From: Ray Strode Date: Mon, 15 Nov 2010 19:01:50 +0000 (-0500) Subject: main: don't pause on crash X-Git-Tag: 0.8.4~93 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=48f04ad1938e35bea987deee29a9ee9f94e52e3a;p=thirdparty%2Fplymouth.git 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. --- 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)