From c1958b1235538eaea2d2e165253a912e0561e1dd Mon Sep 17 00:00:00 2001 From: special Date: Thu, 22 Jun 2006 10:26:33 +0000 Subject: 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 --- .inspircd.inc | 1 + 1 file changed, 1 insertion(+) (limited to '.inspircd.inc') 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(); -- cgit v1.2.3