summaryrefslogtreecommitdiffstats
path: root/usr.bin/chflags
diff options
context:
space:
mode:
authorfenner <fenner@FreeBSD.org>2002-11-30 23:12:59 +0000
committerfenner <fenner@FreeBSD.org>2002-11-30 23:12:59 +0000
commiteb450c7edfd8c3ccf9c14f92da9e35cb2b09300d (patch)
tree1368310523ab417b48d95a94bcc869840d8cd972 /usr.bin/chflags
parent29bcc6132f1bebc06d5ce443552043e0094cab83 (diff)
downloadFreeBSD-src-eb450c7edfd8c3ccf9c14f92da9e35cb2b09300d.zip
FreeBSD-src-eb450c7edfd8c3ccf9c14f92da9e35cb2b09300d.tar.gz
If both the unlink and the open fail, return the errno from the
unlink (very likely EPERM), since the errno from the open might be a confusing ETXTBSY. Approved by: re MFC After: 1 week
Diffstat (limited to 'usr.bin/chflags')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud