o Call fts_close() before exit.

Obtained from:	NetBSD, Coverity ID 1754
This commit is contained in:
maxim 2006-07-04 20:52:36 +00:00
parent 3463a7b118
commit 9926c77bc7

View File

@ -476,6 +476,7 @@ copy(char *argv[], enum op type, int fts_options)
}
if (errno)
err(1, "fts_read");
fts_close(ftsp);
return (rval);
}