]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r345318:
authoravos <avos@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 27 Mar 2019 08:55:59 +0000 (08:55 +0000)
committeravos <avos@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 27 Mar 2019 08:55:59 +0000 (08:55 +0000)
commite52068f0b8eea73b66ff6b2f7fd520291fb8b0be
tree907360f0c2595e75fd1f9296586d291925161b4a
parent5cfa3c9cd4ab06de7abfeddbad381f7da2e9cb62
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

git-svn-id: svn://svn.freebsd.org/base/stable/10@345569 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
usr.bin/lockf/lockf.c