From d4d4bcf6d830bebf5f5d2f2da7108cf0974368c7 Mon Sep 17 00:00:00 2001 From: Phaedrus Leeds Date: Mon, 27 Dec 2021 17:14:31 -0800 Subject: [PATCH] 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. --- common/flatpak-dir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/flatpak-dir.c b/common/flatpak-dir.c index 3b3c3c75..8214e6e8 100644 --- a/common/flatpak-dir.c +++ b/common/flatpak-dir.c @@ -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",