diff options
Diffstat (limited to 'bin/cp/cp.c')
-rw-r--r-- | bin/cp/cp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/cp/cp.c b/bin/cp/cp.c index 0d0040a..b0a3db7 100644 --- a/bin/cp/cp.c +++ b/bin/cp/cp.c @@ -476,6 +476,7 @@ copy(char *argv[], enum op type, int fts_options) } if (errno) err(1, "fts_read"); + fts_close(ftsp); return (rval); } |