mirror of
https://github.com/flatpak/flatpak.git
synced 2026-01-26 22:22:22 +00:00
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.
This commit is contained in:
parent
9f2baafb44
commit
e6bd124b2c
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user