Notify.php
authorAlan Knowles <alan@akbkhome.com>
Tue, 14 Feb 2012 06:27:01 +0000 (14:27 +0800)
committerAlan Knowles <alan@akbkhome.com>
Tue, 14 Feb 2012 06:27:01 +0000 (14:27 +0800)
Notify.php

index a0de6c5..ad59902 100644 (file)
@@ -246,7 +246,7 @@ class Pman_Core_Notify extends Pman
                     //fclose($p['pipes'][1]);
                     fclose($p['pipes'][0]);
                     fclose($p['pipes'][2]);
-                    
+                    @unlink($p['out']);
                     
                     continue;
                 }
@@ -268,7 +268,7 @@ class Pman_Core_Notify extends Pman
                 continue;
             }
             echo "ENDED: ({$p['pid']}) " .  $p['cmd'] . " : " . file_get_contents($p['out']) . "\n";
-            
+            @unlink($p['out']);
             //unlink($p['out']);
         }
         echo "POOL SIZE: ". count($pool) ."\n";