Return to xinstall.c CVS log | Up to [local] / src / usr.bin / xinstall |
version 1.11, 1997/01/17 07:13:54 | version 1.12, 1997/03/07 01:57:08 | ||
---|---|---|---|
|
|
||
*/ | */ | ||
if (fchflags(to_fd, | if (fchflags(to_fd, | ||
flags & SETFLAGS ? fset : from_sb.st_flags & ~UF_NODUMP)) { | flags & SETFLAGS ? fset : from_sb.st_flags & ~UF_NODUMP)) { | ||
serrno = errno; | if (errno != EOPNOTSUPP || (from_sb.st_flags & ~UF_NODUMP) != 0) | ||
(void)unlink(to_name); | warnx("%s: chflags: %s", to_name, strerror(errno)); | ||
errx(EX_OSERR, "%s: chflags: %s", to_name, strerror(serrno)); | |||
} | } | ||
(void)close(to_fd); | (void)close(to_fd); |