Skip to content

Commit

Permalink
setting verbose mode fix
Browse files Browse the repository at this point in the history
fixed inverted condition introduced by the commit 2909e46 (2024-05-13)
  • Loading branch information
MartinPulec committed May 21, 2024
1 parent 111207a commit 752cc53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/host.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 752cc53

Please sign in to comment.