mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-15 04:40:05 +01:00
Set context for DM log for all DM backend entries.
Try to handle error if run as non-root user better.
This commit is contained in:
@@ -582,7 +582,7 @@ static int verify_keyslot(struct crypt_device *cd, int key_slot,
|
||||
}
|
||||
}
|
||||
|
||||
if (r < 0)
|
||||
if (r == -EPERM)
|
||||
log_err(_("No key available with this passphrase.\n"));
|
||||
out:
|
||||
crypt_safe_free(password);
|
||||
|
||||
Reference in New Issue
Block a user