mirror of
https://github.com/clearlinux/linux-steam-integration.git
synced 2026-09-06 22:01:27 +00:00
shim: Drop derpy errno based checks
Signed-off-by: Ikey Doherty <ikey@solus-project.com>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user