summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2015-09-23 13:53:04 +0200
committerAlexander Larsson <alexl@redhat.com>2015-09-23 13:53:04 +0200
commit752b1a0a4bdf14f5273a4a0d8188368ab128b2ef (patch)
tree1d8b133c1eed725ccb10f54d1985f593a729240a
parent727f50e923881a41c0c0eec39b15f5339c8acf9e (diff)
downloadxdg-app-752b1a0a4bdf14f5273a4a0d8188368ab128b2ef.tar.gz
run: Fix handling of which filesystems you can access
-rw-r--r--lib/xdg-app-run.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/xdg-app-run.c b/lib/xdg-app-run.c
index 76f1251..9a7b998 100644
--- a/lib/xdg-app-run.c
+++ b/lib/xdg-app-run.c
@@ -750,9 +750,9 @@ xdg_app_context_load_metadata (XdgAppContext *context,
if (!xdg_app_context_verify_filesystem (fs, error))
return FALSE;
if (remove)
- xdg_app_context_add_filesystem (context, fs);
- else
xdg_app_context_remove_filesystem (context, fs);
+ else
+ xdg_app_context_add_filesystem (context, fs);
}
}