fix terminate
authorAlan <alan@roojs.com>
Thu, 12 Oct 2023 08:02:40 +0000 (16:02 +0800)
committerAlan <alan@roojs.com>
Thu, 12 Oct 2023 08:02:40 +0000 (16:02 +0800)
Notify.php

index dffbe77..19413eb 100644 (file)
@@ -524,7 +524,7 @@ class Pman_Core_Notify extends Pman
             //fclose($p['pipes'][1]);
             
             proc_close($p['proc']);
-            proc_terminate($p['pid'], 9);
+            proc_terminate($p['proc'], 9);
             sleep(1);
             clearstatcache();
             if (file_exists('/proc/'. $p['pid'])) {