Return-Path: From: Szymon Janc To: linux-bluetooth@vger.kernel.org Subject: Re: [PATCH] shared/shell: Fix SIGINT handling Date: Fri, 26 Jan 2018 11:00:21 +0100 Message-ID: <1831841.ebkdqRRWyI@ix> In-Reply-To: <20180125120311.17844-1-szymon.janc@codecoup.pl> References: <20180125120311.17844-1-szymon.janc@codecoup.pl> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: linux-bluetooth-owner@vger.kernel.org List-ID: 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