mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-12 09:48:05 +00:00
trivial: fu-util: fix debug output for devices
I noticed this was only actually working for fwupdtool, and that's because fwupdmgr doesn't set FWUPD_VERBOSE currently in the environment.
This commit is contained in:
parent
d8aaa21cde
commit
b76960efe0
@ -2414,6 +2414,7 @@ main (int argc, char *argv[])
|
||||
/* set verbose? */
|
||||
if (verbose) {
|
||||
g_setenv ("G_MESSAGES_DEBUG", "all", FALSE);
|
||||
g_setenv ("FWUPD_VERBOSE", "1", FALSE);
|
||||
} else {
|
||||
g_log_set_handler (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG,
|
||||
fu_util_ignore_cb, NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user