diff --git a/src/tmpfiles.c b/src/tmpfiles.c index 15b463c8..671d6838 100644 --- a/src/tmpfiles.c +++ b/src/tmpfiles.c @@ -90,7 +90,7 @@ static int rmrf(const char *path) if (!fisdir(path)) return 0; - nftw(path, do_delete, 20, FTW_DEPTH); + nftw(path, do_delete, 20, FTW_DEPTH | FTW_PHYS); if (remove(path) && errno != ENOENT) warn("Failed removing path %s", path);