dell: disable plugin if libsmbios fails
Mario Limonciello
6 years ago
871 | 871 | return FALSE; |
872 | 872 | } |
873 | 873 | |
874 | if (data->smi_obj->smi == NULL) { | |
875 | g_set_error (error, | |
876 | FWUPD_ERROR, | |
877 | FWUPD_ERROR_INTERNAL, | |
878 | "failed to initialize libsmbios library"); | |
879 | return FALSE; | |
880 | } | |
881 | ||
874 | 882 | /* If ESRT is not turned on, fwupd will have already created an |
875 | 883 | * unlock device (if compiled with support). |
876 | 884 | * |