Skip to content

Commit

Permalink
Changes to ./inspircd to hopefully work on freebsd as well as linux..
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3680 e03df62e-2008-0410-955e-edbf42e46eb7
  • Loading branch information
om committed Mar 11, 2006
1 parent 2a76eaa commit 2b28d1f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gdbargs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
handle SIGPIPE pass nostop noprint
run
2 changes: 1 addition & 1 deletion .inspircd.inc
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,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 --eval-command=\"handle SIGPIPE pass nostop noprint\" --eval-command=\"run\" --args $binpath/$executable -nofork -debug");
system("gdb --command=.gdbargs --args $binpath/$executable -nofork -debug");
}


Expand Down

0 comments on commit 2b28d1f

Please sign in to comment.