mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-07 20:30:52 +02:00
commit bash-20210209 snapshot
This commit is contained in:
+1
-1
@@ -4639,7 +4639,7 @@ bash_event_hook ()
|
||||
bashline_reset_event_hook ();
|
||||
|
||||
/* posix mode SIGINT during read -e. We only get here if SIGINT is trapped. */
|
||||
if (posixly_correct && this_shell_builtin == read_builtin && sig == 2)
|
||||
if (posixly_correct && this_shell_builtin == read_builtin && sig == SIGINT)
|
||||
{
|
||||
last_command_exit_value = 128|SIGINT;
|
||||
throw_to_top_level ();
|
||||
|
||||
Reference in New Issue
Block a user