diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-03-02 18:29:39 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-03-02 18:29:39 +0000 |
commit | d7c9583c8ec819444efdb326d15b2ff92a881089 (patch) | |
tree | 7f7b7fd11a0a249fcf7ab45c676d6c463ae5b0ba /.inspircd.inc | |
parent | 75aad16a97587d7ff67204e1a23de5e34a8634cb (diff) |
Removed sleep()
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3437 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to '.inspircd.inc')
-rw-r--r-- | .inspircd.inc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/.inspircd.inc b/.inspircd.inc index f25a3a179..8b4aad32a 100644 --- a/.inspircd.inc +++ b/.inspircd.inc @@ -84,7 +84,6 @@ sub start { if (getstatus() == 1) { print "InspIRCd is already running.\n"; return 0; } # If we are still alive here.. Try starting the IRCd.. system("$binpath/$executable"); - sleep 2; return 1; } @@ -102,7 +101,6 @@ sub stop { my $pid = getprocessid(); print "Stopping InspIRCd...\n"; system("kill -TERM $pid >/dev/null 2>&1"); - sleep 2; if (getstatus() == 1) { print "InspIRCd not dying Quietly -- Forcing Kill\n"; |