freebsd-dev/usr.bin/lockf
John Polstra ae06cb4d32 On failure, return various exit codes from <sysexits.h>. In particular,
return EX_TEMPFAIL if the file was already locked.  This makes it easier
to distinguish between lock collisions and failures within the command
being executed.

Also, don't complain if the unlink() fails in the cleanup handler.  It
doesn't matter anyway, and it obscured the exit status returned from
the command that was executed.
1997-01-09 19:53:21 +00:00
..
lockf.1 On failure, return various exit codes from <sysexits.h>. In particular, 1997-01-09 19:53:21 +00:00
lockf.c On failure, return various exit codes from <sysexits.h>. In particular, 1997-01-09 19:53:21 +00:00
Makefile