]> git.donarmstrong.com Git - infobot.git/commitdiff
double fork -> VERB(2), minor cosmetics
authordms <dms@c11ca15a-4712-0410-83d8-924469b57eb5>
Sun, 20 Aug 2000 13:33:01 +0000 (13:33 +0000)
committerdms <dms@c11ca15a-4712-0410-83d8-924469b57eb5>
Sun, 20 Aug 2000 13:33:01 +0000 (13:33 +0000)
git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@52 c11ca15a-4712-0410-83d8-924469b57eb5

src/Misc.pl

index cbb31e7ff2ca335ffac2512bb66039a965051bc1..0215b4f2eb8b89e36d498f5d0e26789835fc8513 100644 (file)
@@ -595,7 +595,7 @@ sub Forker {
     my $pid;
 
     &shmFlush();
-    &status("double fork detected; not forking.") if ($$ != $bot_pid);
+    &VERB("double fork detected; not forking.",2) if ($$ != $bot_pid);
 
     if (&IsParam("forking") and $$ == $bot_pid) {
        return $noreply unless (&addForked($label));
@@ -635,4 +635,5 @@ sub closePID {
     return 1 if (unlink $file{PID});
     return 0 if ( -f $file{PID});
 }
+
 1;