summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfrostycoolslug <frostycoolslug@e03df62e-2008-0410-955e-edbf42e46eb7>2005-04-05 21:21:04 +0000
committerfrostycoolslug <frostycoolslug@e03df62e-2008-0410-955e-edbf42e46eb7>2005-04-05 21:21:04 +0000
commitacefcb73370299aa339ff1f9a908c3297f9a5112 (patch)
tree8798f1f527d7eb5b37e86b430b1f7225c6861576
parentc2dd34ae043d06781cd59bd56fbbdcd4d4df04b9 (diff)
Fixed careless bug i left in while debugging :/
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@984 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--.inspircd.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/.inspircd.inc b/.inspircd.inc
index a3032f676..6d8952a65 100644
--- a/.inspircd.inc
+++ b/.inspircd.inc
@@ -125,7 +125,7 @@ sub getstatus {
sub getprocessid {
my $pid;
- open PIDFILE, "< $pidfile" or die "Cannot open PID";
+ open PIDFILE, "< $pidfile" or return 0;
while($i = <PIDFILE>)
{
$pid = $i;