From 48f04ad1938e35bea987deee29a9ee9f94e52e3a Mon Sep 17 00:00:00 2001 From: Ray Strode Date: Mon, 15 Nov 2010 14:01:50 -0500 Subject: [PATCH] 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. --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.47.3