mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Remove redundant close(2).
Submitted by: kensmith Approved by: rwatson (mentor)
This commit is contained in:
parent
8de8f265b6
commit
70583fbb77
1 changed files with 0 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue