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.