]> git.etc.gen.nz Git - spong.git/commitdiff
moved close PING; pipe to outside of eval block. Didn't is into the last update
authorStephen L Johnson <sjohnson@monsters.org>
Tue, 28 Nov 2000 20:37:48 +0000 (20:37 +0000)
committerStephen L Johnson <sjohnson@monsters.org>
Tue, 28 Nov 2000 20:37:48 +0000 (20:37 +0000)
src/lib/Spong/Network/plugins/check_ping

index 304b3c7b48a11fba3ff98328a03b8a8cd820eb3f..b5a8f57134420a115818222c8ab926aba2c75cf7 100755 (executable)
@@ -41,8 +41,8 @@ sub check_ping {
            }
 
            alarm(0);
-           close PING;
         };
+        close PING;
 
         if( ! $pingok ) { 
            $color = "red";