From e6bd124b2cc9df48dd2a2c9df2a383fb6d95fede Mon Sep 17 00:00:00 2001 From: Patrick Griffis Date: Wed, 22 Dec 2021 12:49:31 -0600 Subject: [PATCH] run: Fix session-bus and a11y-bus args being incorrect This would incorrectly overwrite the a11y-bus option and not set the default session-bus options. --- app/flatpak-builtins-run.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/flatpak-builtins-run.c b/app/flatpak-builtins-run.c index d30a4a72..ba2ae671 100644 --- a/app/flatpak-builtins-run.c +++ b/app/flatpak-builtins-run.c @@ -278,7 +278,7 @@ flatpak_builtin_run (int argc, char **argv, GCancellable *cancellable, GError ** if (opt_a11y_bus == -1) opt_a11y_bus = !opt_sandbox; if (opt_session_bus == -1) - opt_a11y_bus = !opt_sandbox; + opt_session_bus = !opt_sandbox; if (opt_sandbox) flags |= FLATPAK_RUN_FLAG_SANDBOX | FLATPAK_RUN_FLAG_NO_SYSTEM_BUS_PROXY;