From: Alan Date: Thu, 12 Oct 2023 08:02:40 +0000 (+0800) Subject: fix terminate X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=f4d74dbef73c39825720b1beaf7c0f090f06f986 fix terminate --- 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'])) {