summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
}
}