install: Fix a compiler warning when bootstrapping
Fixes: 4336161cc9
("install: Don't skip syncing in the common case.")
Reviewed by: imp, des
Differential Revision: https://reviews.freebsd.org/D44866
This commit is contained in:
parent
563c72e213
commit
2f44f86575
|
@ -1250,7 +1250,9 @@ copy(int from_fd, const char *from_name, int to_fd, const char *to_name,
|
|||
errno = serrno;
|
||||
err(EX_OSERR, "%s", from_name);
|
||||
}
|
||||
#ifndef BOOTSTRAP_XINSTALL
|
||||
done:
|
||||
#endif
|
||||
if (safecopy && fsync(to_fd) == -1) {
|
||||
serrno = errno;
|
||||
(void)unlink(to_name);
|
||||
|
|
Loading…
Reference in New Issue