From acefcb73370299aa339ff1f9a908c3297f9a5112 Mon Sep 17 00:00:00 2001 From: frostycoolslug Date: Tue, 5 Apr 2005 21:21:04 +0000 Subject: Fixed careless bug i left in while debugging :/ git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@984 e03df62e-2008-0410-955e-edbf42e46eb7 --- .inspircd.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = ) { $pid = $i; -- cgit v1.2.3