* modules/shepherd/service.scm (action): Use 'apply' to invoke the 'start'
procedure in the 'restart' action.
---
 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 26f29aa..72fbc3d 100644
--- a/modules/shepherd/service.scm
+++ b/modules/shepherd/service.scm
@@ -398,7 +398,7 @@ wire."
          (if running
              (stop obj)
              (local-output "~a was not running." (canonical-name obj)))
-         (start obj args)))
+         (apply start obj args)))
       ((status)
        ;; Return the service itself.  It is automatically converted to an sexp
        ;; via 'result->sexp' and sent to the client.
-- 
2.12.2


Reply via email to