mirror of
https://github.com/flatpak/flatpak.git
synced 2026-04-28 19:18:03 -04:00
system-helper: Actually return on unsupported flags
Otherwise we continue even though there was an error. Pointed out by cosimo
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user