unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: 宋文武 <iyzsong@member.fsf.org>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH] service: Fix arguments passing in the 'restart' action.
Date: Mon, 10 Jul 2017 17:17:23 +0200	[thread overview]
Message-ID: <87fue448zg.fsf@gnu.org> (raw)
In-Reply-To: <20170708100034.8010-1-iyzsong@member.fsf.org> ("宋文武"'s message of "Sat, 8 Jul 2017 18:00:34 +0800")

Hello,

宋文武 <iyzsong@member.fsf.org> 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’.

      parent reply	other threads:[~2017-07-10 15:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-08 10:00 [PATCH] service: Fix arguments passing in the 'restart' action 宋文武
2017-07-08 11:46 ` Danny Milosavljevic
2017-07-10 15:17 ` Ludovic Courtès [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fue448zg.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=guix-devel@gnu.org \
    --cc=iyzsong@member.fsf.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).