kopia lustrzana https://github.com/friendica/friendica
Merge pull request #15017 from ne20002/patch-1
Fix error message when starting cron daemonpull/15021/head
commit
49ee6524bd
|
|
@ -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'");
|
||||
|
|
|
|||
Ładowanie…
Reference in New Issue