shim: Drop derpy errno based checks

Signed-off-by: Ikey Doherty <ikey@solus-project.com>
This commit is contained in:
Ikey Doherty
2017-11-14 22:23:33 +00:00
parent a518fc6720
commit 1d339cab05
-7
View File
@@ -286,8 +286,6 @@ bool shim_bootstrap()
lsi_config_load_defaults(&lsi_config);
}
errno = 0;
/* We might have additional variables we need to export */
shim_export_extra(operation_prefix);
@@ -329,11 +327,6 @@ bool shim_bootstrap()
unsetenv("XMODIFIERS");
unsetenv("GTK_MODULES");
if (errno != 0) {
lsi_report_failure("Failed to bootstrap LSI: %s", strerror(errno));
return false;
}
/* All done now. */
return true;
}