summary refs log tree commit diff
diff options
context:
space:
mode:
authorClément Lassieur <clement@lassieur.org>2018-08-13 17:36:05 +0200
committerClément Lassieur <clement@lassieur.org>2018-08-13 18:10:58 +0200
commit2ded865665850d9f257ee62a995658c1381a8f4a (patch)
treeb936473827af32c2b8185154cd87c765ab98a972
parent18e56ad7eba42b23e338dfc77cd057bf8a076f19 (diff)
downloadguix-2ded865665850d9f257ee62a995658c1381a8f4a.tar.gz
services: prosody: Use 'invoke' rather than 'system*'.
* gnu/services/messaging.scm (prosody-shepherd-service): Replace SYSTEM* with
INVOKE.
-rw-r--r--gnu/services/messaging.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/services/messaging.scm b/gnu/services/messaging.scm
index 4b7e724a78..6d3a5803c2 100644
--- a/gnu/services/messaging.scm
+++ b/gnu/services/messaging.scm
@@ -634,7 +634,7 @@ See also @url{https://prosody.im/doc/modules/mod_muc}."
          (prosodyctl-bin (file-append prosody "/bin/prosodyctl"))
          (prosodyctl-action (lambda args
                               #~(lambda _
-                                  (zero? (system* #$prosodyctl-bin #$@args))))))
+                                  (invoke #$prosodyctl-bin #$@args)))))
     (list (shepherd-service
            (documentation "Run the Prosody XMPP server")
            (provision '(prosody xmpp-daemon))