uefi: Fix the self tests when running on Fedora SilverBlue

This commit is contained in:
Richard Hughes 2019-02-26 17:57:38 +00:00
parent b768e4d924
commit f45c651dd1

View File

@ -64,7 +64,7 @@ fu_uefi_vars_set_immutable_fd (int fd,
rc = ioctl (fd, FS_IOC_GETFLAGS, &flags);
if (rc < 0) {
/* check for tmpfs */
if (errno == ENOTTY) {
if (errno == ENOTTY || errno == ENOSYS) {
is_immutable = FALSE;
} else {
g_set_error (error,