From f3ad09ef66387a8811c0c86d7c3880896a7bb548 Mon Sep 17 00:00:00 2001 From: Administrator Date: Sat, 11 Dec 2021 17:34:05 +0800 Subject: [PATCH] 1 --- kiri-engine/FileListen/Inotify.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kiri-engine/FileListen/Inotify.php b/kiri-engine/FileListen/Inotify.php index b8c28098..ada77c96 100644 --- a/kiri-engine/FileListen/Inotify.php +++ b/kiri-engine/FileListen/Inotify.php @@ -103,9 +103,9 @@ class Inotify { foreach ($this->watchFiles as $wd) { try { - inotify_rm_watch($this->inotify, $wd); + @inotify_rm_watch($this->inotify, $wd); } catch (\Throwable $exception) { - logger()->addError($exception->getMessage(), 'throwable'); +// logger()->addError($exception->getMessage(), 'throwable'); } } $this->watchFiles = [];