fix 'logging to...' output line not respecting quiet setting (update_daemon2.php)
This commit is contained in:
parent
874a2d2170
commit
487d06a20d
|
@ -159,9 +159,9 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isset($options["log"])) {
|
if (isset($options["log"])) {
|
||||||
|
Debug::set_quiet(isset($options['quiet']));
|
||||||
Debug::set_logfile($options["log"]);
|
Debug::set_logfile($options["log"]);
|
||||||
Debug::log("Logging to " . $options["log"]);
|
Debug::log("Logging to " . $options["log"]);
|
||||||
Debug::set_quiet(isset($options['quiet']));
|
|
||||||
} else {
|
} else {
|
||||||
if (isset($options['quiet'])) {
|
if (isset($options['quiet'])) {
|
||||||
Debug::set_loglevel(Debug::$LOG_DISABLED);
|
Debug::set_loglevel(Debug::$LOG_DISABLED);
|
||||||
|
|
Loading…
Reference in New Issue