summaryrefslogtreecommitdiff
path: root/.inspircd.inc
diff options
context:
space:
mode:
Diffstat (limited to '.inspircd.inc')
-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;