summaryrefslogtreecommitdiff
path: root/app/flatpak-main.c
diff options
context:
space:
mode:
Diffstat (limited to 'app/flatpak-main.c')
-rw-r--r--app/flatpak-main.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/app/flatpak-main.c b/app/flatpak-main.c
index ae2b6fc1..d49317f7 100644
--- a/app/flatpak-main.c
+++ b/app/flatpak-main.c
@@ -817,10 +817,11 @@ flatpak_run (int argc,
check_environment ();
/* Don't talk to dbus in enter, as it must be thread-free to setns, also
- skip run/build for performance reasons (no need to connect to dbus). */
+ skip run/build/history for performance reasons (no need to connect to dbus). */
if (g_strcmp0 (command->name, "enter") != 0 &&
g_strcmp0 (command->name, "run") != 0 &&
- g_strcmp0 (command->name, "build") != 0)
+ g_strcmp0 (command->name, "build") != 0 &&
+ g_strcmp0 (command->name, "history") != 0)
polkit_agent = install_polkit_agent ();
/* g_vfs_get_default can spawn threads */