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 2012-10-13 18:41:47 -04:00
parent ad26c7a80b
commit 5b512d4c78
1 changed files with 1 additions and 0 deletions

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
{