Notify.php
authorAlan Knowles <alan@akbkhome.com>
Fri, 3 Feb 2012 04:33:28 +0000 (12:33 +0800)
committerAlan Knowles <alan@akbkhome.com>
Fri, 3 Feb 2012 04:33:28 +0000 (12:33 +0800)
Notify.php

index f8939f9..944138f 100644 (file)
@@ -223,9 +223,12 @@ class Pman_Core_Notify extends Pman
             echo "CHECK PID: " . $p['pid'] . "\n";
             $info =  proc_get_status($p['proc']);
             //var_dump($info);
+            
+            // update if necessday.
             if ($info['pid']) {
                 $p['pid'] = $info['pid'];
             }
+            
             if ($info['running']) {
             
             //if (file_exists('/proc/'.$p['pid'])) {