aboutsummaryrefslogtreecommitdiff
path: root/lib/dirtree.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/dirtree.c')
-rw-r--r--lib/dirtree.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/dirtree.c b/lib/dirtree.c
index 33188e1f..c9660fc7 100644
--- a/lib/dirtree.c
+++ b/lib/dirtree.c
@@ -62,6 +62,7 @@ error:
char *path = parent ? dirtree_path(parent, 0) : "";
perror_msg("%s%s%s",path, parent ? "/" : "", name);
}
+ if (parent) parent->symlink = (char *)1;
free(dt);
return 0;
}