All of lore.kernel.org
 help / color / mirror / Atom feed
From: Harald Hoyer <harald-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
To: Daniel Schaal <farbing-S0/GAf8tV78@public.gmane.org>,
	initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH] resume/parse-resume.sh: add missing braces
Date: Tue, 20 May 2014 11:33:47 +0200	[thread overview]
Message-ID: <537B217B.2060702@redhat.com> (raw)
In-Reply-To: <1397924620-2755-1-git-send-email-farbing-S0/GAf8tV78@public.gmane.org>

On 19.04.2014 18:23, Daniel Schaal wrote:
> ---
>  modules.d/95resume/parse-resume.sh | 7 ++++---
>  1 file changed, 4 insertions(+), 3 deletions(-)
> 
> diff --git a/modules.d/95resume/parse-resume.sh b/modules.d/95resume/parse-resume.sh
> index d7b2d7f..a97ef7b 100755
> --- a/modules.d/95resume/parse-resume.sh
> +++ b/modules.d/95resume/parse-resume.sh
> @@ -70,9 +70,10 @@ if ! getarg noresume; then
>          printf '[ -e "%s" ] && { ln -s "%s" /dev/resume; rm -f -- "$job" "%s/initqueue/timeout/resume.sh"; }\n' \
>              "$resume" "$resume" "$hookdir" >> $hookdir/initqueue/settled/resume.sh
>  
> -        printf -- "%s" 'warn "Cancelling resume operation. Device not found.";'
> -        printf -- ' cancel_wait_for_dev /dev/resume; rm -f -- "$job" "%s/initqueue/settled/resume.sh";\n' \
> -            "$hookdir" >> $hookdir/initqueue/timeout/resume.sh
> +	{
> +            printf -- "%s" 'warn "Cancelling resume operation. Device not found.";'
> +            printf -- ' cancel_wait_for_dev /dev/resume; rm -f -- "$job" "%s/initqueue/settled/resume.sh";\n' "$hookdir"
> +        } >> $hookdir/initqueue/timeout/resume.sh
>  
>          mv /lib/dracut/resume.sh /lib/dracut/hooks/pre-mount/10-resume.sh
>      else
> 

Thanks!

http://git.kernel.org/cgit/boot/dracut/dracut.git/commit/?id=636cc1ef634704ffc5e037961b6fb8ede3203977

      parent reply	other threads:[~2014-05-20  9:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-19 16:23 [PATCH] resume/parse-resume.sh: add missing braces Daniel Schaal
     [not found] ` <1397924620-2755-1-git-send-email-farbing-S0/GAf8tV78@public.gmane.org>
2014-05-20  9:33   ` Harald Hoyer [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

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

  git send-email \
    --in-reply-to=537B217B.2060702@redhat.com \
    --to=harald-h+wxahxf7alqt0dzr+alfa@public.gmane.org \
    --cc=farbing-S0/GAf8tV78@public.gmane.org \
    --cc=initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.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.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.