summaryrefslogtreecommitdiff
path: root/abuild-rmtemp.c
diff options
context:
space:
mode:
Diffstat (limited to 'abuild-rmtemp.c')
-rw-r--r--abuild-rmtemp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/abuild-rmtemp.c b/abuild-rmtemp.c
index 1fca31c..b9511ce 100644
--- a/abuild-rmtemp.c
+++ b/abuild-rmtemp.c
@@ -44,7 +44,7 @@ int main(int argc, char **argv) {
if (!p) errx(1, "Incorrect user");
if (s.st_uid != p->pw_uid) errx(1, "Permission denied");
- if (nftw(argv[1], handler, 512, FTW_DEPTH)) fail();
+ if (nftw(argv[1], handler, 512, FTW_DEPTH|FTW_PHYS)) fail();
return 0;
}