mirror of
https://github.com/systemd/systemd
synced 2024-10-15 04:24:19 +00:00
Revert "cryptenroll: drop unmet condition"
This reverts commit cefa4a02ab
.
Because the first 'break' is inside a nested for loop, this second 'break' is
needed to exit the outer for loop.
Fixes: #28451
This commit is contained in:
parent
686b983040
commit
adb7fe82c7
|
@ -78,6 +78,8 @@ int load_volume_key_password(
|
|||
if (r >= 0)
|
||||
break;
|
||||
}
|
||||
if (r >= 0)
|
||||
break;
|
||||
|
||||
log_error_errno(r, "Password not correct, please try again: %m");
|
||||
ask_password_flags &= ~ASK_PASSWORD_ACCEPT_CACHED;
|
||||
|
|
Loading…
Reference in a new issue