summaryrefslogtreecommitdiff
path: root/update_daemon2.php
diff options
context:
space:
mode:
authorJordan Galby <[email protected]>2019-02-12 19:14:23 +0100
committerJordan Galby <[email protected]>2019-02-12 19:14:23 +0100
commit487d06a20dc471fba487da579e69cf0cac291cc0 (patch)
tree272d59eb3c46e558d96dd42db7eb6cbe4ff24fd8 /update_daemon2.php
parent874a2d21704c41e625b4b7ad565b2326ce5b95cd (diff)
fix 'logging to...' output line not respecting quiet setting (update_daemon2.php)
Diffstat (limited to 'update_daemon2.php')
-rwxr-xr-xupdate_daemon2.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/update_daemon2.php b/update_daemon2.php
index 8d36db5f3..64415964b 100755
--- a/update_daemon2.php
+++ b/update_daemon2.php
@@ -159,9 +159,9 @@
}
if (isset($options["log"])) {
+ Debug::set_quiet(isset($options['quiet']));
Debug::set_logfile($options["log"]);
Debug::log("Logging to " . $options["log"]);
- Debug::set_quiet(isset($options['quiet']));
} else {
if (isset($options['quiet'])) {
Debug::set_loglevel(Debug::$LOG_DISABLED);