From 713936c7c3292e16e3a21efe827bcfd040ccbfc2 Mon Sep 17 00:00:00 2001 From: timriker Date: Fri, 22 Aug 2003 18:18:07 +0000 Subject: [PATCH] dead pid shm comment git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@818 c11ca15a-4712-0410-83d8-924469b57eb5 --- src/IRC/Schedulers.pl | 1 + 1 file changed, 1 insertion(+) 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$/); -- 2.39.2