Browse Source

fix 'logging to...' output line not respecting quiet setting (update_daemon2.php)

Jordan Galby 1 month ago
parent
commit
487d06a20d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      update_daemon2.php

+ 1 - 1
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);