mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-19 14:50:09 +01:00
committed by
Ondrej Kozina
parent
8f8703f1c3
commit
83103627b2
@@ -711,7 +711,7 @@ static int decrypt_luks2_datashift_init(struct crypt_device **cd,
|
|||||||
r = fchmod(fd, hdr_st.st_mode | S_IRUSR | S_IWUSR);
|
r = fchmod(fd, hdr_st.st_mode | S_IRUSR | S_IWUSR);
|
||||||
close(fd);
|
close(fd);
|
||||||
if (r) {
|
if (r) {
|
||||||
log_err(_("Failed to add read/wrire permissions to exported header file."));
|
log_err(_("Failed to add read/write permissions to exported header file."));
|
||||||
r = -EINVAL;
|
r = -EINVAL;
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user