mirror of
https://git.tt-rss.org/fox/tt-rss.git
synced 2025-10-03 19:21:00 +02:00
update.php --daemon did not respect --quiet
This commit is contained in:
parent
c050148df4
commit
0ae9f7460b
@ -145,7 +145,9 @@
|
|||||||
|
|
||||||
if (isset($options["daemon"])) {
|
if (isset($options["daemon"])) {
|
||||||
while (true) {
|
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...");
|
_debug("Sleeping for " . DAEMON_SLEEP_INTERVAL . " seconds...");
|
||||||
sleep(DAEMON_SLEEP_INTERVAL);
|
sleep(DAEMON_SLEEP_INTERVAL);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user