]> git.ozlabs.org Git - petitboot/blobdiff - discover/pb-discover.c
discover,ui: fix checks for debug option
[petitboot] / discover / pb-discover.c
index e895f47653945fcef31fc888e2473d632cc21000..f876a3d3f517e98eee2e074042717e96b7c1fd2f 100644 (file)
@@ -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");