projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f14b3e9
)
Notify.php
author
Alan Knowles
<alan@akbkhome.com>
Fri, 3 Feb 2012 04:33:20 +0000
(12:33 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Fri, 3 Feb 2012 04:33:20 +0000
(12:33 +0800)
Notify.php
patch
|
blob
|
history
diff --git
a/Notify.php
b/Notify.php
index
2fa0f45
..
f8939f9
100644
(file)
--- a/
Notify.php
+++ b/
Notify.php
@@
-223,7
+223,9
@@
class Pman_Core_Notify extends Pman
echo "CHECK PID: " . $p['pid'] . "\n";
$info = proc_get_status($p['proc']);
//var_dump($info);
-
+ if ($info['pid']) {
+ $p['pid'] = $info['pid'];
+ }
if ($info['running']) {
//if (file_exists('/proc/'.$p['pid'])) {