cryptenroll: drop unmet condition

This commit is contained in:
Yu Watanabe
2023-05-20 14:21:10 +09:00
parent b3bd6ccd1e
commit cefa4a02ab
-2
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;