mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-06 13:17:44 +03:00
cryptsetup: use log_warning_errno() where we can, instead of log_warning()
This commit is contained in:
parent
ef58c14587
commit
8bc6ade721
@ -448,10 +448,9 @@ static int get_password(
|
||||
|
||||
assert(strv_length(passwords2) == 1);
|
||||
|
||||
if (!streq(passwords[0], passwords2[0])) {
|
||||
log_warning("Passwords did not match, retrying.");
|
||||
return -EAGAIN;
|
||||
}
|
||||
if (!streq(passwords[0], passwords2[0]))
|
||||
return log_warning_errno(SYNTHETIC_ERRNO(EAGAIN),
|
||||
"Passwords did not match, retrying.");
|
||||
}
|
||||
|
||||
strv_uniq(passwords);
|
||||
|
Loading…
Reference in New Issue
Block a user