diff options
-rw-r--r-- | bin/cp/utils.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/bin/cp/utils.c b/bin/cp/utils.c index b8f340a..2d8987f 100644 --- a/bin/cp/utils.c +++ b/bin/cp/utils.c @@ -224,7 +224,6 @@ copy_file(const FTSENT *entp, int dne) rval = 1; if (pflag && preserve_fd_acls(from_fd, to_fd) != 0) rval = 1; - (void)close(from_fd); if (close(to_fd)) { warn("%s", to.p_path); rval = 1; |