summaryrefslogtreecommitdiffstats
path: root/src/cryptenroll
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2023-05-19 22:30:01 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2023-05-20 07:21:10 +0200
commitcefa4a02ab8f3c941e54b5ad1a90b5cf133264a7 (patch)
treeff3108b3df69aac31910d549c8bd8fa4d4c207bf /src/cryptenroll
parentMerge pull request #27707 from mrc0mmand/tests (diff)
downloadsystemd-cefa4a02ab8f3c941e54b5ad1a90b5cf133264a7.tar.xz
systemd-cefa4a02ab8f3c941e54b5ad1a90b5cf133264a7.zip
cryptenroll: drop unmet condition
Diffstat (limited to 'src/cryptenroll')
-rw-r--r--src/cryptenroll/cryptenroll-password.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/cryptenroll/cryptenroll-password.c b/src/cryptenroll/cryptenroll-password.c
index 72f2165d49..450f985971 100644
--- a/src/cryptenroll/cryptenroll-password.c
+++ b/src/cryptenroll/cryptenroll-password.c
@@ -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;