diff options
Diffstat (limited to 'usr.bin/compress')
-rw-r--r-- | usr.bin/compress/compress.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/compress/compress.c b/usr.bin/compress/compress.c index 9cabf10..bb8b1bf 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); } |