From: Andrew Dolgov Date: Mon, 1 Apr 2013 15:51:43 +0000 (+0400) Subject: update.php --daemon did not respect --quiet X-Git-Tag: 1.7.6~56 X-Git-Url: https://git.wh0rd.org/?p=tt-rss.git;a=commitdiff_plain;h=0ae9f7460bb3e1519ae31b2273aa52b13f5a775d update.php --daemon did not respect --quiet --- 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); }