[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] service: Fix arguments passing in the 'restart' action.
From: |
Ludovic Courtès |
Subject: |
Re: [PATCH] service: Fix arguments passing in the 'restart' action. |
Date: |
Mon, 10 Jul 2017 17:17:23 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) |
Hello,
宋文武 <address@hidden> skribis:
> * 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)))
Good catch! Applied, thanks.
Ludo’.