X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=update.php;h=e57aef90f2eaecf81e4b2f3298a15d32a88e0594;hb=0ae9f7460bb3e1519ae31b2273aa52b13f5a775d;hp=691e168e29a0309bcc0978ca832e5c3764f17ba0;hpb=c050148df4b81eca3c0e1110b94a649e9b56f9b0;p=tt-rss.git diff --git a/update.php b/update.php index 691e168e..e57aef90 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); }