summaryrefslogtreecommitdiffstats
path: root/ui/ncurses/generic-main.c
diff options
context:
space:
mode:
Diffstat (limited to 'ui/ncurses/generic-main.c')
-rw-r--r--ui/ncurses/generic-main.c2
1 files changed, 1 insertions, 1 deletions
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