[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[shepherd] 01/02: service: Use 'else' in 'cond'.

From: Ludovic Courtès
Subject: [shepherd] 01/02: service: Use 'else' in 'cond'.
Date: Fri, 28 Sep 2018 16:34:12 -0400 (EDT)

civodul pushed a commit to branch master
in repository shepherd.

commit c3e8ff0207f116e7165354281bb4ddc5a5d9738a
Author: Ludovic Courtès <address@hidden>
Date:   Fri Sep 28 22:31:53 2018 +0200

    service: Use 'else' in 'cond'.
    * modules/shepherd/service.scm (register-services)[register-single-service]:
    Use 'else', not '#:else' (in practice it makes no difference other than
 modules/shepherd/service.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/shepherd/service.scm b/modules/shepherd/service.scm
index 6cc52ba..43cf5a7 100644
--- a/modules/shepherd/service.scm
+++ b/modules/shepherd/service.scm
@@ -1111,7 +1111,7 @@ is currently stopped, replace it immediately."
          (throw 'non-canonical-name))
         ((running? old)
          (slot-set! old 'replacement new))
-        (#:else
+        (else
          (replace-service old new))))
       (_ ;; in any other case, there are too many services to register

reply via email to

[Prev in Thread] Current Thread [Next in Thread]