cryptenroll: drop unmet condition

This commit is contained in:
Yu Watanabe 2023-05-20 05:30:01 +09:00
parent b3bd6ccd1e
commit cefa4a02ab

View file

@ -77,8 +77,6 @@ int load_volume_key_password(
if (r >= 0)
break;
}
if (r >= 0)
break;
log_error_errno(r, "Password not correct, please try again.");
ask_password_flags &= ~ASK_PASSWORD_ACCEPT_CACHED;