diff options
author | Andrew Dolgov <[email protected]> | 2013-04-01 19:51:43 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-04-01 19:51:43 +0400 |
commit | 0ae9f7460bb3e1519ae31b2273aa52b13f5a775d (patch) | |
tree | 92b1def8d83ff48dec5f5bbbadcd0eba85b5b5d4 | |
parent | c050148df4b81eca3c0e1110b94a649e9b56f9b0 (diff) |
update.php --daemon did not respect --quiet
-rwxr-xr-x | update.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/update.php b/update.php index 691e168e2..e57aef90f 100755 --- a/update.php +++ b/update.php @@ -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); } |