Remove redundant close(2).

Submitted by:	kensmith
Approved by:	rwatson (mentor)
This commit is contained in:
Edward Tomasz Napierala 2008-09-09 12:31:42 +00:00
parent 8de8f265b6
commit 70583fbb77
1 changed files with 0 additions and 1 deletions

View File

@ -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;