From 0ae9f7460bb3e1519ae31b2273aa52b13f5a775d Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 1 Apr 2013 19:51:43 +0400 Subject: [PATCH] update.php --daemon did not respect --quiet --- update.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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); } -- 2.39.5