From 752cc53fe9ff4e11a31e48cf3edab376d395cec4 Mon Sep 17 00:00:00 2001 From: Martin Pulec Date: Mon, 20 May 2024 10:13:04 +0200 Subject: [PATCH] setting verbose mode fix fixed inverted condition introduced by the commit 2909e464 (2024-05-13) --- src/host.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/host.cpp b/src/host.cpp index ee18d7e5f..fce0c920a 100644 --- a/src/host.cpp +++ b/src/host.cpp @@ -345,7 +345,7 @@ static bool parse_opts_set_logging(int argc, char *argv[]) getopt_long(argc, argv, optstring, getopt_options, nullptr); switch (ch) { case 'V': - if (optarg == nullptr) { + if (optarg != nullptr) { log_opt = optarg; } else { logging_lvl += 1;