Merge pull request #15017 from ne20002/patch-1

Fix error message when starting cron daemon
pull/15021/head
Michael Vogel 2025-07-11 23:06:52 +02:00 zatwierdzone przez GitHub
commit 49ee6524bd
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -114,7 +114,7 @@ HELP;
$pidfile = $this->config->get('system', 'pidfile');
$daemonMode = $this->getArgument(0);
$foreground = $this->getOption(['f', 'foreground']) ?? false;
$foreground = (bool) $this->getOption(['f', 'foreground']) ?? false;
if (empty($daemonMode)) {
throw new CommandArgsException("Please use either 'start', 'stop' or 'status'");