aboutsummaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorTim Vanderhoek <hoek@FreeBSD.org>2000-05-16 04:58:34 +0000
committerTim Vanderhoek <hoek@FreeBSD.org>2000-05-16 04:58:34 +0000
commitda94aa4ef2dddd98982f2197d7038a3f4e373a8a (patch)
tree68a54a0c7131b685b7fcbe7f3eccca0d20b71539 /usr.bin
parent3797b581a9aceede491ab1808d0dce670e109310 (diff)
Notes
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/compress/compress.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/compress/compress.c b/usr.bin/compress/compress.c
index 9cabf104c5dd0..bb8b1bfecb756 100644
--- a/usr.bin/compress/compress.c
+++ b/usr.bin/compress/compress.c
@@ -375,10 +375,10 @@ setfile(name, fs)
cwarn("chown: %s", name);
fs->st_mode &= ~(S_ISUID|S_ISGID);
}
- if (chmod(name, fs->st_mode))
+ if (chmod(name, fs->st_mode) && errno != EOPNOTSUPP)
cwarn("chmod: %s", name);
- if (chflags(name, fs->st_flags))
+ if (chflags(name, fs->st_flags) && errno != EOPNOTSUPP)
cwarn("chflags: %s", name);
}