shim: Fix Steam for Arch users with dbus warnings causing segault on exit

Signed-off-by: Ikey Doherty <ikey@solus-project.com>
This commit is contained in:
Ikey Doherty
2016-05-27 05:29:37 +01:00
parent 6d6fe3773e
commit 82512dece0
+4
View File
@@ -60,6 +60,10 @@ int main(int argc, char **argv)
setenv("STEAM_RUNTIME", "1", 1);
}
/* Vanilla dbus users suffer a segfault on Steam exit, due to incorrect
* usage of dbus by Steam. Help them out */
setenv("DBUS_FATAL_WARNINGS", "0", 1);
memset(&n_argv, 0, sizeof(char *) * (argc + 2));
/* If we're 64-bit and 32-bit is forced, proxy via linux32 */