1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 09:05:55 +00:00

update.php --daemon did not respect --quiet

This commit is contained in:
Andrew Dolgov
2013-04-01 19:51:43 +04:00
parent c050148df4
commit 0ae9f7460b

View File

@@ -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);
}