From: Yu Watanabe Date: Fri, 19 May 2023 20:30:01 +0000 (+0900) Subject: cryptenroll: drop unmet condition X-Git-Tag: v254-rc1~431^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cefa4a02ab8f3c941e54b5ad1a90b5cf133264a7;p=thirdparty%2Fsystemd.git cryptenroll: drop unmet condition --- diff --git a/src/cryptenroll/cryptenroll-password.c b/src/cryptenroll/cryptenroll-password.c index 72f2165d49c..450f9859716 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;