Linux bluetooth development
 help / color / mirror / Atom feed
From: Szymon Janc <szymon.janc@codecoup.pl>
To: linux-bluetooth@vger.kernel.org
Subject: Re: [PATCH] shared/shell: Fix SIGINT handling
Date: Fri, 26 Jan 2018 11:00:21 +0100	[thread overview]
Message-ID: <1831841.ebkdqRRWyI@ix> (raw)
In-Reply-To: <20180125120311.17844-1-szymon.janc@codecoup.pl>

On Thursday, 25 January 2018 13:03:11 CET Szymon Janc wrote:
> This fix ctrl-c combination working only once.
> ---
>  src/shared/shell.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/shared/shell.c b/src/shared/shell.c
> index 6cdea1c7e..f1b85f202 100644
> --- a/src/shared/shell.c
> +++ b/src/shared/shell.c
> @@ -623,7 +623,7 @@ static bool signal_read(struct io *io, void *user_data)
>  			rl_crlf();
>  			rl_on_new_line();
>  			rl_redisplay();
> -			break;
> +			return true;
>  		}
> 
>  		/*

Applied.

-- 
pozdrawiam
Szymon Janc



      reply	other threads:[~2018-01-26 10:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-25 12:03 [PATCH] shared/shell: Fix SIGINT handling Szymon Janc
2018-01-26 10:00 ` Szymon Janc [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=1831841.ebkdqRRWyI@ix \
    --to=szymon.janc@codecoup.pl \
    --cc=linux-bluetooth@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox