summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2008-03-27 18:39:59 +0000
committerLennart Poettering <lennart@poettering.net>2008-03-27 18:39:59 +0000
commitc5f78bfde99808ebf2a802b160d1c79306d42b69 (patch)
treeb1c47cca67f024ae284f6105bb9a89f51d639ab9
parent7262e2fc35bd8597cf80b14e0da7c8692246fd3b (diff)
Abort instead of cleanly exiting, so we can obtain a core dump and find out
what was wrong. (rhbz #438594, Patch from Lubomir Kundrak) git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2128 fefdeb5f-60dc-0310-8127-8f9354f1896f
-rw-r--r--src/daemon/cpulimit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/daemon/cpulimit.c b/src/daemon/cpulimit.c
index b77dd443..620a93a6 100644
--- a/src/daemon/cpulimit.c
+++ b/src/daemon/cpulimit.c
@@ -151,7 +151,7 @@ static void signal_handler(int sig) {
} else if (phase == PHASE_SOFT) {
write_err("Hard CPU time limit exhausted, terminating forcibly.\n");
- _exit(1); /* Forced exit */
+ abort(); /* Forced exit */
}
errno = saved_errno;