]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
If both the unlink and the open fail, return the errno from the
authorfenner <fenner@FreeBSD.org>
Sat, 30 Nov 2002 23:12:59 +0000 (23:12 +0000)
committerfenner <fenner@FreeBSD.org>
Sat, 30 Nov 2002 23:12:59 +0000 (23:12 +0000)
commiteb450c7edfd8c3ccf9c14f92da9e35cb2b09300d
tree1368310523ab417b48d95a94bcc869840d8cd972
parent29bcc6132f1bebc06d5ce443552043e0094cab83
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
usr.bin/xinstall/xinstall.c