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.
This commit is contained in:
Colin Walters committed 2012-10-13 18:41:47 -04:00
1 parent ad26c7a80b
commit 5b512d4c78
1 file changed
+1
+1
View File
@@ -3235,6 +3235,7 @@ checkout_file_hardlink (OstreeRepo *self,
ot_util_set_error_from_errno (error, errno);
goto out;
}
ret_was_supported = TRUE;
}
else
{