From ec375d5d74697c9934e3beebc3bd7e63b201130a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Mon, 29 Mar 2021 10:47:35 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HttpServer/Shutdown.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HttpServer/Shutdown.php b/HttpServer/Shutdown.php index 6e332e51..e774b7b5 100644 --- a/HttpServer/Shutdown.php +++ b/HttpServer/Shutdown.php @@ -93,7 +93,7 @@ class Shutdown extends Component } $shell = 'ps -eo pid,cmd,state | grep %d | grep -v grep'; exec(sprintf($shell, intval($content)), $output, $code); - var_dump($content, $output, $code); + var_dump($content, $output, sprintf($shell, intval($content))); if (empty($output)) { return false; }