From: timriker Date: Fri, 22 Aug 2003 18:18:07 +0000 (+0000) Subject: dead pid shm comment X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=713936c7c3292e16e3a21efe827bcfd040ccbfc2;p=infobot.git dead pid shm comment git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@818 c11ca15a-4712-0410-83d8-924469b57eb5 --- diff --git a/src/IRC/Schedulers.pl b/src/IRC/Schedulers.pl index 3fe5e63..566a288 100644 --- a/src/IRC/Schedulers.pl +++ b/src/IRC/Schedulers.pl @@ -770,6 +770,7 @@ sub miscCheck { my $pid = $2; my $time = $3; next if (time() - $time < 60*60); + # FIXME remove not-pid shm if parent process dead next if ($pid == $bot_pid); # don't touch other bots, if they're running. next unless ($param{ircNick} =~ /^\Q$n\E$/);