xbps_init: fix logic.
This commit is contained in:
parent
5a355ed6d9
commit
ebae4fbfca
@ -108,7 +108,7 @@ xbps_init(struct xbps_handle *xh)
|
||||
}
|
||||
if (fetch_cache_conn == 0)
|
||||
fetch_cache_conn = XBPS_FETCH_CACHECONN;
|
||||
if (fetch_cache_conn_host != 0)
|
||||
if (fetch_cache_conn_host == 0)
|
||||
fetch_cache_conn_host = XBPS_FETCH_CACHECONN_HOST;
|
||||
|
||||
xbps_fetch_set_cache_connection(fetch_cache_conn,
|
||||
|
Loading…
Reference in New Issue
Block a user