summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.inspircd.inc3
1 files changed, 1 insertions, 2 deletions
diff --git a/.inspircd.inc b/.inspircd.inc
index 67daff2fe..f25a3a179 100644
--- a/.inspircd.inc
+++ b/.inspircd.inc
@@ -92,7 +92,7 @@ sub debug {
# Check to see its not 'running' already.
if (getstatus() == 1) { print "InspIRCd is already running.\n"; return 0; }
# If we are still alive here.. Try starting the IRCd..
- system("gdb --args $binpath/$executable -nofork -debug");
+ system("gdb --eval-command=\"handle SIGPIPE pass nostop noprint\" --eval-command=\"run\" --args $binpath/$executable -nofork -debug");
}
@@ -198,4 +198,3 @@ sub getprocessid {
close PIDFILE;
return $pid;
}
-