update.php --daemon did not respect --quiet
This commit is contained in:
parent
c050148df4
commit
0ae9f7460b
1 changed files with 3 additions and 1 deletions
|
@ -145,7 +145,9 @@
|
|||
|
||||
if (isset($options["daemon"])) {
|
||||
while (true) {
|
||||
passthru(PHP_EXECUTABLE . " " . $argv[0] ." --daemon-loop");
|
||||
$quiet = (isset($options["quiet"])) ? "--quiet" : "";
|
||||
|
||||
passthru(PHP_EXECUTABLE . " " . $argv[0] ." --daemon-loop $quiet");
|
||||
_debug("Sleeping for " . DAEMON_SLEEP_INTERVAL . " seconds...");
|
||||
sleep(DAEMON_SLEEP_INTERVAL);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue