diff options
author | special <special@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-06-22 10:26:33 +0000 |
---|---|---|
committer | special <special@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-06-22 10:26:33 +0000 |
commit | c1958b1235538eaea2d2e165253a912e0561e1dd (patch) | |
tree | 8cb8ea2bf66f74dc3581562370481a64137bc48d /.inspircd.inc | |
parent | fbc5d6b616ec9738579ce8800eca78716512515a (diff) |
Fix for ./inspircd restart not working half the time
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4042 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to '.inspircd.inc')
-rw-r--r-- | .inspircd.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.inspircd.inc b/.inspircd.inc index cb59bc3cb..ed22f7317 100644 --- a/.inspircd.inc +++ b/.inspircd.inc @@ -60,6 +60,7 @@ if ($arg eq "cron") { if ($arg eq "restart") { stop(); + unlink($pidfile) if (-e $pidfile); start(); # kthxbye(); exit(); |