]> git.donarmstrong.com Git - infobot.git/blobdiff - src/Misc.pl
'use strict' issue
[infobot.git] / 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;