summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--util/checkdir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/checkdir.c b/util/checkdir.c
index ac4cafa8..bbb0b40e 100644
--- a/util/checkdir.c
+++ b/util/checkdir.c
@@ -57,7 +57,7 @@ int main(int argc, char **argv) {
offset=0;
continue;
}
- if(fh.filename[0]==0 || fh.owner[0]==0)
+ if(fh.filename[0]==0 || fh.owner[0]==0 || fh.owner[0]=='-')
{
if(fh.filename[0]==0) unlink(fh.filename);
continue;