From 0f0bbe735da4bb87b55ebe718fd5a4a5cfdbd061 Mon Sep 17 00:00:00 2001 From: Roland Angerer Date: Mon, 2 Sep 2013 08:54:20 +0200 Subject: [PATCH] passing --log option to update daemon processes --- update.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/update.php b/update.php index ff6b8250..c1547fa7 100755 --- a/update.php +++ b/update.php @@ -162,8 +162,9 @@ if (isset($options["daemon"])) { while (true) { $quiet = (isset($options["quiet"])) ? "--quiet" : ""; + $log = isset($options['log']) ? '--log '.$options['log'] : ''; - passthru(PHP_EXECUTABLE . " " . $argv[0] ." --daemon-loop $quiet"); + passthru(PHP_EXECUTABLE . " " . $argv[0] ." --daemon-loop $quiet $log"); _debug("Sleeping for " . DAEMON_SLEEP_INTERVAL . " seconds..."); sleep(DAEMON_SLEEP_INTERVAL); }