summaryrefslogtreecommitdiff
path: root/.inspircd.inc
diff options
context:
space:
mode:
authorspecial <special@e03df62e-2008-0410-955e-edbf42e46eb7>2006-06-22 10:26:33 +0000
committerspecial <special@e03df62e-2008-0410-955e-edbf42e46eb7>2006-06-22 10:26:33 +0000
commitc1958b1235538eaea2d2e165253a912e0561e1dd (patch)
tree8cb8ea2bf66f74dc3581562370481a64137bc48d /.inspircd.inc
parentfbc5d6b616ec9738579ce8800eca78716512515a (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.inc1
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();