[Bug 210770] lockf(1): EX_UNAVAILABLE is not returned
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Jul 3 09:58:02 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210770
Bug ID: 210770
Summary: lockf(1): EX_UNAVAILABLE is not returned
Product: Base System
Version: 10.1-RELEASE
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: bin
Assignee: freebsd-bugs at FreeBSD.org
Reporter: eserte12 at yahoo.de
The lockf(1) manpage documents that EX_UNAVAILABLE is returned if -n is used
and the lock file does not exist. This is not the case:
$ lockf -n /tmp/doesnotexist echo; echo $?
lockf: cannot open /tmp/doesnotexist: No such file or directory
73
EX_CANTCREAT (73) is returned instead.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list