From: Philipp Date: Mon, 1 Nov 2021 06:53:26 +0000 (+0100) Subject: Update src/Core/System.php X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=807c95b314fe5837e81dd8a618f23a63a6217676;p=friendica.git Update src/Core/System.php Co-authored-by: Hypolite Petovan --- diff --git a/src/Core/System.php b/src/Core/System.php index 321fb3d6fb..d411802945 100644 --- a/src/Core/System.php +++ b/src/Core/System.php @@ -216,6 +216,7 @@ class System } else { $resource = proc_open($cmdline . ' &', [], $foo, $this->basePath); } + if (!is_resource($resource)) { $this->logger->warning('We got no resource for command.', ['command' => $cmdline]); return;