diff options
Diffstat (limited to 'src/pacman')
| -rw-r--r-- | src/pacman/query.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/src/pacman/query.c b/src/pacman/query.c index f27c5c29..c9c82b94 100644 --- a/src/pacman/query.c +++ b/src/pacman/query.c @@ -102,7 +102,7 @@ static char *lrealpath(const char *path, char *resolved_path)  	char *rpath = NULL, *dname = NULL;  	int success = 0; -	if(strcmp(path, ".") == 0 || strcmp(path, "..") == 0) { +	if(strcmp(bname, ".") == 0 || strcmp(bname, "..") == 0) {  		/* the entire path needs to be resolved */  		return realpath(path, resolved_path);  	} | 
