fix bug in ntfs_log_parse_option - quiet needs you to clear a level, not set it
parent
755ef674e8
commit
09368b5e83
|
@ -570,7 +570,7 @@ BOOL ntfs_log_parse_option(const char *option)
|
|||
ntfs_log_set_levels(NTFS_LOG_LEVEL_VERBOSE);
|
||||
return TRUE;
|
||||
} else if (strcmp(option, "--log-quiet") == 0) {
|
||||
ntfs_log_set_levels(NTFS_LOG_LEVEL_QUIET);
|
||||
ntfs_log_clear_levels(NTFS_LOG_LEVEL_QUIET);
|
||||
return TRUE;
|
||||
} else if (strcmp(option, "--log-trace") == 0) {
|
||||
ntfs_log_set_levels(NTFS_LOG_LEVEL_TRACE);
|
||||
|
|
Loading…
Reference in New Issue