- Package:
- daemontools
- Source:
- daemontools
- Description:
- collection of tools for managing UNIX services
- Submitter:
- Date:
- 2025-05-04 09:45:03 UTC
- Severity:
- wishlist
Mention return value of
-n No delay. If fn is locked by another process, setlock gives up.
Please provide a patch, git clone http://smarden.org/git/daemontools.git
(Maybe the value is 1? I didn't check.)
Hi Dan e.a., Le Sun, Sep 06, 2009 at 05:47:48PM +0800, jidanni@jidanni.org a écrit : [...] Thanks for your bugreport, I've spend some time on it. One can find the setlock source at https://salsa.debian.org/debian/daemontools/-/blob/debian/latest/daemontools-0.76/src/setlock.c?ref_type=heads The setlock(8) manpage is basically a copy of http://cr.yp.to/daemontools/setlock.html . Unfortunately I failed to understand the source, and cannot tell wether s/setlock gives up/setlock gives up and exits nonzero/ is the right fix for this... HTH someone anyway. Bye, Joost