summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--discover/pb-discover.c2
-rw-r--r--ui/ncurses/generic-main.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/discover/pb-discover.c b/discover/pb-discover.c
index e895f47..f876a3d 100644
--- a/discover/pb-discover.c
+++ b/discover/pb-discover.c
@@ -153,7 +153,7 @@ int main(int argc, char *argv[])
}
pb_log_init(log);
- if (opts.verbose)
+ if (opts.verbose == opt_yes)
pb_log_set_debug(true);
pb_log("--- pb-discover ---\n");
diff --git a/ui/ncurses/generic-main.c b/ui/ncurses/generic-main.c
index 0d0a38a..fe288ee 100644
--- a/ui/ncurses/generic-main.c
+++ b/ui/ncurses/generic-main.c
@@ -311,7 +311,7 @@ int main(int argc, char *argv[])
pb_log_init(log);
- if (opts.verbose)
+ if (opts.verbose == opt_yes)
pb_log_set_debug(true);
pb_log("--- petitboot-nc ---\n");
OpenPOWER on IntegriCloud