From f4d74dbef73c39825720b1beaf7c0f090f06f986 Mon Sep 17 00:00:00 2001 From: Alan Date: Thu, 12 Oct 2023 16:02:40 +0800 Subject: [PATCH] fix terminate --- Notify.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Notify.php b/Notify.php index dffbe77a..19413eb3 100644 --- a/Notify.php +++ b/Notify.php @@ -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'])) { -- 2.39.2