mirror of
https://github.com/flatpak/flatpak.git
synced 2026-06-27 09:47:02 -04:00
system-helper: Support setting 'masked' config key
This fixes the following error when the "flatpak mask" command is used with the system-helper: "error: Unsupported key: masked"
This commit is contained in:
committed by
Alexander Larsson
parent
5192e94be2
commit
73644b00c9
@@ -1106,7 +1106,9 @@ handle_configure (FlatpakSystemHelper *object,
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
if ((strcmp (arg_key, "languages") != 0) && (strcmp (arg_key, "extra-languages") != 0))
|
||||
if ((strcmp (arg_key, "languages") != 0) &&
|
||||
(strcmp (arg_key, "extra-languages") != 0) &&
|
||||
(strcmp (arg_key, "masked") != 0))
|
||||
{
|
||||
g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS,
|
||||
"Unsupported key: %s", arg_key);
|
||||
|
||||
Reference in New Issue
Block a user