From 913bae472602f907a66bc8a51d7e92ed49aebdbc Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Tue, 26 Apr 2016 12:08:37 +0200 Subject: system-helper: Actually return on unsupported flags Otherwise we continue even though there was an error. Pointed out by cosimo --- system-helper/xdg-app-system-helper.c | 1 + 1 file changed, 1 insertion(+) (limited to 'system-helper') diff --git a/system-helper/xdg-app-system-helper.c b/system-helper/xdg-app-system-helper.c index 65e90f7..21e1317 100644 --- a/system-helper/xdg-app-system-helper.c +++ b/system-helper/xdg-app-system-helper.c @@ -60,6 +60,7 @@ handle_deploy (XdgAppSystemHelper *object, { g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "Unsupported flags enabled: 0x%x", (arg_flags & ~XDG_APP_HELPER_DEPLOY_FLAGS_ALL)); + return TRUE; } if (!g_file_query_exists (path, NULL)) -- cgit v1.2.1