mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-16 21:29:59 +01:00
Make quiet_log decision logic more obvious.
This commit is contained in:
committed by
Milan Broz
parent
c2371f95c6
commit
07f9248448
@@ -125,7 +125,7 @@ void tool_log(int level, const char *msg, void *usrptr __attribute__((unused)))
|
||||
void quiet_log(int level, const char *msg, void *usrptr)
|
||||
{
|
||||
if (!opt_verbose && (level == CRYPT_LOG_ERROR || level == CRYPT_LOG_NORMAL))
|
||||
level = CRYPT_LOG_VERBOSE;
|
||||
return;
|
||||
tool_log(level, msg, usrptr);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user