diff --git a/src/common.c b/src/common.c
index d2a1b362429c4ffb5bf049437183b6b5ea328e48..530f73309327db8f0222acf2479e78799dfb8fcb 100644 (file)
--- a/src/common.c
+++ b/src/common.c
}
while (42) {
- if (stat (dir, &statbuf) == -1)
+ if ((stat (dir, &statbuf) == -1)
+ && (lstat (dir, &statbuf) == -1))
{
if (errno == ENOENT)
{