run: Make repos optional (again)

If some installation is empty (or otherwise broken) we fail the
entire run command, even though the app might exist in e.g. the
user installation. This is a regression from
651c86d3c6 which also ended up in 1.0.4.
This commit is contained in:
Alexander Larsson
2018-10-19 12:56:37 +02:00
parent 71143138b7
commit d6eba6732f

View File

@@ -112,7 +112,7 @@ flatpak_builtin_run (int argc, char **argv, GCancellable *cancellable, GError **
g_option_context_add_group (context, flatpak_context_get_options (arg_context));
if (!flatpak_option_context_parse (context, options, &argc, &argv,
FLATPAK_BUILTIN_FLAG_ALL_DIRS,
FLATPAK_BUILTIN_FLAG_ALL_DIRS | FLATPAK_BUILTIN_FLAG_OPTIONAL_REPO,
&dirs, cancellable, error))
return FALSE;