civodul pushed a commit to branch wip-syslogd
in repository shepherd.

commit 28584dce26121f26f4b712e2213a1eb2987753c4
Author: Ludovic Courtès <[email protected]>
AuthorDate: Tue Jul 30 18:48:13 2024 +0200

    endpoints: Fix docstring of ‘open-sockets’.
    
    * modules/shepherd/endpoints.scm (open-sockets): Fix docstring typos and
    use Texinfo markup.
---
 modules/shepherd/endpoints.scm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/modules/shepherd/endpoints.scm b/modules/shepherd/endpoints.scm
index 01ccdda..65e53d5 100644
--- a/modules/shepherd/endpoints.scm
+++ b/modules/shepherd/endpoints.scm
@@ -162,9 +162,9 @@ retrying to bind it in one second.")
        sock))))
 
 (define (open-sockets endpoints)
-  "Return a list of listening sockets corresponding to ENDPOINTS, in the same
-order as ENDPOINTS.  If opening of binding one of them fails, an exception is
-thrown an previously-opened sockets are closed."
+  "Return a list of listening sockets corresponding to @var{endpoints}, in the
+same order as @var{endpoints}.  If opening or binding one of them fails, an
+exception is thrown and previously-opened sockets are closed."
   (let loop ((endpoints endpoints)
              (result   '()))
     (match endpoints

Reply via email to