o Call fts_close() before exit.

Obtained from:	NetBSD, Coverity ID 1754
This commit is contained in:
Maxim Konovalov 2006-07-04 20:52:36 +00:00
parent 764a094c3f
commit 867e6caf17
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=160098

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);
}