diff options
| -rw-r--r-- | lib/libalpm/diskspace.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/lib/libalpm/diskspace.c b/lib/libalpm/diskspace.c index 1fc297ed..a80a62b6 100644 --- a/lib/libalpm/diskspace.c +++ b/lib/libalpm/diskspace.c @@ -343,7 +343,7 @@ int _alpm_check_downloadspace(alpm_handle_t *handle, const char *cachedir,  	}  	cachedir_mp = match_mount_point(mount_points, cachedir); -	if(cachedir == NULL) { +	if(cachedir_mp == NULL) {  		_alpm_log(handle, ALPM_LOG_ERROR, _("could not determine cachedir mount point %s\n"),  				cachedir);  		error = 1; | 
