From b76960efe0ddf53ae9ab15eb568d4060a13f9939 Mon Sep 17 00:00:00 2001 From: Mario Limonciello Date: Mon, 26 Aug 2019 23:43:40 -0500 Subject: [PATCH] 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. --- src/fu-util.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/fu-util.c b/src/fu-util.c index e79f52f03..8a1aebcc7 100644 --- a/src/fu-util.c +++ b/src/fu-util.c @@ -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);