From 82512dece012448ad3ab4eea586ee6d2d7900cdd Mon Sep 17 00:00:00 2001 From: Ikey Doherty Date: Fri, 27 May 2016 05:29:37 +0100 Subject: [PATCH] shim: Fix Steam for Arch users with dbus warnings causing segault on exit Signed-off-by: Ikey Doherty --- src/shim/shim.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/shim/shim.c b/src/shim/shim.c index 5608a29..7e81f92 100644 --- a/src/shim/shim.c +++ b/src/shim/shim.c @@ -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 */