]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r345318:
authoravos <avos@FreeBSD.org>
Wed, 27 Mar 2019 08:55:59 +0000 (08:55 +0000)
committeravos <avos@FreeBSD.org>
Wed, 27 Mar 2019 08:55:59 +0000 (08:55 +0000)
commit2f9a114be45ff3e3edad000105a76b6b5ca01051
tree817d357f34b548f7d07c7442f1fc1593f2b4152f
parentbce466a6269b01847e9bece47883486061f40b9b
MFC r345318:
lockf(1): return EX_UNAVAILABLE if -n is used and the lock file does not
exist

Apply EX_UNAVAILABLE patch part from PR 170775 to match the documentation.

Was checked with a command from PR 210770:
lockf -n /tmp/doesnotexist echo; echo $?

PR: 210770
usr.bin/lockf/lockf.c