From c881ce41209586df45a62c61ae1e74ed8456c0a0 Mon Sep 17 00:00:00 2001 From: om Date: Thu, 2 Mar 2006 01:31:08 +0000 Subject: [PATCH] Make ./inspircd ignore SIGPIPE and start running without the user having to type 'run' / 'r' git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3412 e03df62e-2008-0410-955e-edbf42e46eb7 --- .inspircd.inc | 3 +-- 1 file changed, 1 insertion(+), 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; } - -- 2.39.5