Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion librepo/downloader.c
Original file line number Diff line number Diff line change
Expand Up @@ -1545,7 +1545,7 @@ prepare_next_transfer(LrDownload *dd, gboolean *candidatefound, GError **err)

// Allow resume only for files that were originally being
// downloaded by librepo
if (target->resume && !has_librepo_xattr(fd)) {
if (!(target->resume && has_librepo_xattr(fd))) {
target->resume = FALSE;
g_debug("%s: Resume ignored, existing file was not originally "
"being downloaded by Librepo", __func__);
Expand Down