dir: Fix another deploy error code path

This is another case where commit 4beaa990c seems to have mistakenly
turned an error code path into one where the deploy appears successful
to the caller of flatpak_dir_deploy() but the commit doesn't actually
get deployed.
This commit is contained in:
Phaedrus Leeds
2021-12-27 17:14:31 -08:00
committed by Phaedrus Leeds
parent 58f495b6e5
commit d4d4bcf6d8

View File

@@ -8436,7 +8436,7 @@ flatpak_dir_deploy (FlatpakDir *self,
if (g_file_query_exists (etc_resolve_conf, cancellable) &&
!g_file_delete (etc_resolve_conf, cancellable, error))
return TRUE;
return FALSE;
if (!g_file_make_symbolic_link (etc_resolve_conf,
"/run/host/monitor/resolv.conf",