list: Don't error out if a ref is in the repo, but not deployed

tingping/wmclass
Alexander Larsson 2017-02-02 09:18:03 +01:00
parent 5e1d456b8b
commit 7eeda3b7b3
1 changed files with 2 additions and 2 deletions

View File

@ -156,9 +156,9 @@ print_table_for_refs (gboolean print_apps, GPtrArray* refs_array, const char *ar
if (arch != NULL && strcmp (arch, parts[1]) != 0)
continue;
deploy_data = flatpak_dir_get_deploy_data (dir, ref, cancellable, error);
deploy_data = flatpak_dir_get_deploy_data (dir, ref, cancellable, NULL);
if (deploy_data == NULL)
return FALSE;
continue;
repo = flatpak_deploy_data_get_origin (deploy_data);