mirror of
https://github.com/flatpak/flatpak.git
synced 2026-03-10 03:01:36 -04:00
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:
committed by
Phaedrus Leeds
parent
58f495b6e5
commit
d4d4bcf6d8
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user