diff options
| author | Patrick Griffis <pgriffis@igalia.com> | 2021-12-22 12:49:31 -0600 |
|---|---|---|
| committer | Patrick <tingping@tingping.se> | 2022-01-04 13:02:04 -0600 |
| commit | 17b05b0c916128e9b3135652912118d0e93849cc (patch) | |
| tree | 7b8ba8c7ed91125451c20959dd664cdf2d679f44 | |
| parent | a5e8cfd1f6bcc808ff2cd3592cf04f42bf3e4253 (diff) | |
| download | flatpak-17b05b0c916128e9b3135652912118d0e93849cc.tar.gz | |
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.
| -rw-r--r-- | app/flatpak-builtins-run.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |
