Update src/Core/System.php

Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
This commit is contained in:
Philipp 2021-11-01 07:53:26 +01:00 committed by Philipp
parent 388f9d5a5b
commit 807c95b314
No known key found for this signature in database
GPG Key ID: 24A7501396EB5432
1 changed files with 1 additions and 0 deletions

View File

@ -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;