From dec55dcce7e34ce5e56fbd946b91ea58879c0b4a Mon Sep 17 00:00:00 2001 From: Szymon Janc Date: Thu, 25 Jan 2018 13:03:11 +0100 Subject: [PATCH] shared/shell: Fix SIGINT handling 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; } /* -- 2.47.3