summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2020-06-30 16:30:32 +0200
committerAlexander Larsson <alexander.larsson@gmail.com>2020-07-03 09:36:23 +0200
commitdfb36db79dc401b68a70e7fcc5be3cb2fa423dd2 (patch)
treef02a71bffde9e8d98d1938faa3cba426044a83a5
parent9833b900194fca5829087e3bb052c8bc0bd3fe7e (diff)
downloadflatpak-dfb36db79dc401b68a70e7fcc5be3cb2fa423dd2.tar.gz
run: Fix --no-session-bus
This fixes #3636
-rw-r--r--app/flatpak-builtins-run.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/flatpak-builtins-run.c b/app/flatpak-builtins-run.c
index a226eea2..6abd947c 100644
--- a/app/flatpak-builtins-run.c
+++ b/app/flatpak-builtins-run.c
@@ -72,7 +72,7 @@ static GOptionEntry options[] = {
{ "log-a11y-bus", 0, 0, G_OPTION_ARG_NONE, &opt_log_a11y_bus, N_("Log accessibility bus calls"), NULL },
{ "no-a11y-bus", 0, G_OPTION_FLAG_REVERSE, G_OPTION_ARG_NONE, &opt_a11y_bus, N_("Don't proxy accessibility bus calls"), NULL },
{ "a11y-bus", 0, 0, G_OPTION_ARG_NONE, &opt_a11y_bus, N_("Proxy accessibility bus calls (default except when sandboxed)"), NULL },
- { "no-session-bus", 0, G_OPTION_FLAG_REVERSE, G_OPTION_ARG_NONE, &opt_a11y_bus, N_("Don't proxy session bus calls"), NULL },
+ { "no-session-bus", 0, G_OPTION_FLAG_REVERSE, G_OPTION_ARG_NONE, &opt_session_bus, N_("Don't proxy session bus calls"), NULL },
{ "session-bus", 0, 0, G_OPTION_ARG_NONE, &opt_session_bus, N_("Proxy session bus calls (default except when sandboxed)"), NULL },
{ "no-documents-portal", 0, 0, G_OPTION_ARG_NONE, &opt_no_documents_portal, N_("Don't start portals"), NULL },
{ "file-forwarding", 0, 0, G_OPTION_ARG_NONE, &opt_file_forwarding, N_("Enable file forwarding"), NULL },