Skip to content

Commit 752cc53

Browse files
committed
setting verbose mode fix
fixed inverted condition introduced by the commit 2909e46 (2024-05-13)
1 parent 111207a commit 752cc53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/host.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ static bool parse_opts_set_logging(int argc, char *argv[])
345345
getopt_long(argc, argv, optstring, getopt_options, nullptr);
346346
switch (ch) {
347347
case 'V':
348-
if (optarg == nullptr) {
348+
if (optarg != nullptr) {
349349
log_opt = optarg;
350350
} else {
351351
logging_lvl += 1;

0 commit comments

Comments
 (0)