From 60dec7d4bc1bbbdf3d4436ba51b32cdfaf8f541f Mon Sep 17 00:00:00 2001 From: Alan Date: Thu, 12 Oct 2023 16:03:46 +0800 Subject: [PATCH] cant termintate after close --- Notify.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Notify.php b/Notify.php index 19413eb3..4f645af3 100644 --- a/Notify.php +++ b/Notify.php @@ -524,8 +524,7 @@ class Pman_Core_Notify extends Pman //fclose($p['pipes'][1]); proc_close($p['proc']); - proc_terminate($p['proc'], 9); - sleep(1); + sleep(1); clearstatcache(); if (file_exists('/proc/'. $p['pid'])) { $this->logecho("proc PID={$p['pid']} still here - trying to wait"); -- 2.39.2