summaryrefslogtreecommitdiffstats
path: root/util/checkdir.c
diff options
context:
space:
mode:
authorptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-03-29 09:08:47 +0800
committerptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-03-29 09:08:47 +0800
commit5bf761730f13f5e967e76a4fc729fb93406cf06e (patch)
treed5784a8bbffad718306e5e18af5f104000c7a944 /util/checkdir.c
parent13b4f3fe75c3aa450125fe895b42f3b3154fff11 (diff)
downloadpttbbs-5bf761730f13f5e967e76a4fc729fb93406cf06e.tar
pttbbs-5bf761730f13f5e967e76a4fc729fb93406cf06e.tar.gz
pttbbs-5bf761730f13f5e967e76a4fc729fb93406cf06e.tar.bz2
pttbbs-5bf761730f13f5e967e76a4fc729fb93406cf06e.tar.lz
pttbbs-5bf761730f13f5e967e76a4fc729fb93406cf06e.tar.xz
pttbbs-5bf761730f13f5e967e76a4fc729fb93406cf06e.tar.zst
pttbbs-5bf761730f13f5e967e76a4fc729fb93406cf06e.zip
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1623 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'util/checkdir.c')
-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;