diff --git a/src/common.c b/src/common.c
index e1f204b9824ce05ca44a6a1861324bfcfe08747c..0069a8b6508691b4fd2270642d10452428606fc4 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)
{