summaryrefslogtreecommitdiffstats
path: root/discover/pb-discover.c
diff options
context:
space:
mode:
Diffstat (limited to 'discover/pb-discover.c')
-rw-r--r--discover/pb-discover.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/discover/pb-discover.c b/discover/pb-discover.c
index 81c582d..fd37068 100644
--- a/discover/pb-discover.c
+++ b/discover/pb-discover.c
@@ -185,6 +185,9 @@ int main(int argc, char *argv[])
if (config_get()->lang)
setlocale(LC_ALL, config_get()->lang);
+ if (config_get()->debug)
+ pb_log_set_debug(true);
+
system_info_init(server);
handler = device_handler_init(server, waitset, opts.dry_run == opt_yes);
OpenPOWER on IntegriCloud