mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-08 05:17:31 +00:00
uefi: Fix the self tests when running on Fedora SilverBlue
This commit is contained in:
parent
b768e4d924
commit
f45c651dd1
@ -64,7 +64,7 @@ fu_uefi_vars_set_immutable_fd (int fd,
|
|||||||
rc = ioctl (fd, FS_IOC_GETFLAGS, &flags);
|
rc = ioctl (fd, FS_IOC_GETFLAGS, &flags);
|
||||||
if (rc < 0) {
|
if (rc < 0) {
|
||||||
/* check for tmpfs */
|
/* check for tmpfs */
|
||||||
if (errno == ENOTTY) {
|
if (errno == ENOTTY || errno == ENOSYS) {
|
||||||
is_immutable = FALSE;
|
is_immutable = FALSE;
|
||||||
} else {
|
} else {
|
||||||
g_set_error (error,
|
g_set_error (error,
|
||||||
|
Loading…
Reference in New Issue
Block a user