diff options
author | Alexander Larsson <alexl@redhat.com> | 2016-04-26 12:08:37 +0200 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2016-04-26 12:08:37 +0200 |
commit | 913bae472602f907a66bc8a51d7e92ed49aebdbc (patch) | |
tree | b4ae262923d9c0b81a16ad6bdc3ae8b248d28b50 /system-helper | |
parent | 3ec67c57e69d54e50cc1fe5de9ae68fe0a54e374 (diff) | |
download | xdg-app-913bae472602f907a66bc8a51d7e92ed49aebdbc.tar.gz |
system-helper: Actually return on unsupported flags
Otherwise we continue even though there was an error.
Pointed out by cosimo
Diffstat (limited to 'system-helper')
-rw-r--r-- | system-helper/xdg-app-system-helper.c | 1 |
1 files changed, 1 insertions, 0 deletions
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)) |