HomeFreeBSD

lockf(1): return EX_UNAVAILABLE if -n is used and the lock file does not

Description

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

Details

Provenance
avosAuthored on
Parents
rS345317: Only install amazon-ssm-agent into amd64 AMIs.
Branches
Unknown
Tags
Unknown