Package: daemontools
Version: 1:0.76-7
Severity: wishlist
File: /usr/share/man/man8/setlock.8.gz

We read

       Normally the lock disappears when child exits.

Mention yes the lock disappears but the _file_ never disappears.

       -n     No delay. If fn is locked by another process, setlock gives up.

mention exit status above,

       -N     (Default.) Delay. If fn is locked by another process, setlock 
waits until it can obtain a new lock.

like you do for:

       -x     If fn cannot be opened (or created) or locked, setlock exits zero.

       -X     (Default.) If fn cannot be opened (or created) or locked, setlock 
prints an error message and exits nonzero.

Two "Defaults" is confusing.

Mention if -X turns off -N,
Mention if -N turns off -X,

  • Bug#918962: Two defaults is confusing 積丹尼 Dan Jacobson

Reply via email to