From a28a9921b6ef1c97a6b2ce77bfadf7b7cde5d72b Mon Sep 17 00:00:00 2001 From: Elijah Perrault Date: Wed, 2 Feb 2011 14:44:24 -0700 Subject: [PATCH] Remove auto.pid on SHUTDOWN. --- src/Core/IRC.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Core/IRC.pm b/src/Core/IRC.pm index d6937a4..33ddfb9 100644 --- a/src/Core/IRC.pm +++ b/src/Core/IRC.pm @@ -193,6 +193,7 @@ sub cmd_shutdown sleep 1; DB::flush(); sleep 1; + system("rm $Auto::Bin/auto.pid"); exit; # To appease PerlCritic.