index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Allan McRae <allan@archlinux.org> | 2010-06-19 18:55:08 +1000 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2010-06-21 01:04:58 +1000 |
commit | 59c47aaf529df02ec1577fe727c3c84d13592666 (patch) | |
tree | 63049bcc89e7058376ce0607ddee116b2f819ddc /src/util | |
parent | d7dccd541962f0dd8bf323ae11633e595bfb4922 (diff) |
-rw-r--r-- | src/util/testdb.c | 2 |
diff --git a/src/util/testdb.c b/src/util/testdb.c index 6d351ebd..45a2626d 100644 --- a/src/util/testdb.c +++ b/src/util/testdb.c @@ -69,7 +69,7 @@ static int db_test(char *dbpath, int local) } while ((ent = readdir(dir)) != NULL) { - if(!strcmp(ent->d_name, ".") || !strcmp(ent->d_name, "..") + if(strcmp(ent->d_name, ".") == 0 || strcmp(ent->d_name, "..") == 0 || ent->d_name[0] == '.') { continue; } |