projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60ced07
)
Notify.php
author
Alan Knowles
<alan@akbkhome.com>
Tue, 14 Feb 2012 06:27:25 +0000
(14:27 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Tue, 14 Feb 2012 06:27:25 +0000
(14:27 +0800)
Notify.php
Notify.php
patch
|
blob
|
history
diff --git
a/Notify.php
b/Notify.php
index
ad59902
..
2671b95
100644
(file)
--- a/
Notify.php
+++ b/
Notify.php
@@
-262,11
+262,11
@@
class Pman_Core_Notify extends Pman
proc_close($p['proc']);
- clearstatcache();
- if (file_exists('/proc/'.$p['pid'])) {
- $pool[] = $p;
- continue;
- }
+
//
clearstatcache();
+
//
if (file_exists('/proc/'.$p['pid'])) {
+
//
$pool[] = $p;
+
//
continue;
+
//
}
echo "ENDED: ({$p['pid']}) " . $p['cmd'] . " : " . file_get_contents($p['out']) . "\n";
@unlink($p['out']);
//unlink($p['out']);