]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
lockf(1): return EX_UNAVAILABLE if -n is used and the lock file does not
authoravos <avos@FreeBSD.org>
Wed, 20 Mar 2019 07:40:38 +0000 (07:40 +0000)
committeravos <avos@FreeBSD.org>
Wed, 20 Mar 2019 07:40:38 +0000 (07:40 +0000)
commit4a9d286decd81333b85f908e650cd4e81adaa93e
tree53649f8f7ae542607710c354a1da2788f19fe9c7
parentcc4638536765a4afd8507ed172d24da85ffbdbbc
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.

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

PR: 210770
MFC after: 1 week
usr.bin/lockf/lockf.c