From 5b512d4c78f6d1ff047cfc22a1cce55d0f8b63e6 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Sat, 13 Oct 2012 18:41:47 -0400 Subject: [PATCH] core: Fix case where we hardlinked successfully but thought we didn't We need to return hardlink_supported even if we had to do an unlink first. --- src/libostree/ostree-repo.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libostree/ostree-repo.c b/src/libostree/ostree-repo.c index 440acbe4..020a5955 100644 --- a/src/libostree/ostree-repo.c +++ b/src/libostree/ostree-repo.c @@ -3235,6 +3235,7 @@ checkout_file_hardlink (OstreeRepo *self, ot_util_set_error_from_errno (error, errno); goto out; } + ret_was_supported = TRUE; } else {