exclude: Fix a double close().

CID: #996802

Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
Klaas Freitag 2013-07-10 15:33:14 +02:00 committed by Andreas Schneider
parent def897ca67
commit 78605ac6cc

View file

@ -100,7 +100,6 @@ int csync_exclude_load(CSYNC *ctx, const char *fname) {
rc = -1; rc = -1;
goto out; goto out;
} }
close(fd);
/* FIXME: Don't add duplicates */ /* FIXME: Don't add duplicates */
entry = buf; entry = buf;