From d6eba6732f8589b1dfb9f8213e6785643ead9798 Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Fri, 19 Oct 2018 12:56:37 +0200 Subject: [PATCH] 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 651c86d3c60cdf41e9dea2ce23cc7eb2aacb9b4f which also ended up in 1.0.4. --- app/flatpak-builtins-run.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/flatpak-builtins-run.c b/app/flatpak-builtins-run.c index dd3d6a1e..1ece0197 100644 --- a/app/flatpak-builtins-run.c +++ b/app/flatpak-builtins-run.c @@ -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;