diff --git a/lib/download.c b/lib/download.c index 14c9f5b4..68d644f9 100644 --- a/lib/download.c +++ b/lib/download.c @@ -247,8 +247,7 @@ xbps_fetch_file(const char *uri, const char *outputdir, const char *flags) * and If-Modified-Since is unchanged, we are done. */ if (url->offset == st.st_size && - fetchLastErrCode == FETCH_UNCHANGED || - fetchLastErrCode == HTTP_NOT_MODIFIED) + fetchLastErrCode == FETCH_UNCHANGED) goto out; rv = fetchLastErrCode;