about summary refs log tree commit diff
path: root/Src/Modules/files.c
diff options
context:
space:
mode:
Diffstat (limited to 'Src/Modules/files.c')
-rw-r--r--Src/Modules/files.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/Modules/files.c b/Src/Modules/files.c
index 30ed32103..bb1cc0065 100644
--- a/Src/Modules/files.c
+++ b/Src/Modules/files.c
@@ -127,7 +127,7 @@ domkdir(char *nam, char *path, mode_t mode, int p)
     if(p) {
 	struct stat st;
 
-	if(!lstat(rpath, &st) && S_ISDIR(st.st_mode))
+	if(!stat(rpath, &st) && S_ISDIR(st.st_mode))
 	    return 0;
     }
     oumask = umask(0);