aboutsummaryrefslogtreecommitdiff
path: root/shell/ash.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/ash.c')
-rw-r--r--shell/ash.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/shell/ash.c b/shell/ash.c
index b20c32b89..153bcc057 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -12803,6 +12803,10 @@ readcmd(int argc UNUSED_PARAM, char **argv UNUSED_PARAM)
12803 } 12803 }
12804 } 12804 }
12805 12805
12806 /* "read -s" needs to save/restore termios, can't allow ^C
12807 * to jump out of it.
12808 */
12809 INT_OFF;
12806 r = shell_builtin_read(setvar2, 12810 r = shell_builtin_read(setvar2,
12807 argptr, 12811 argptr,
12808 bltinlookup("IFS"), /* can be NULL */ 12812 bltinlookup("IFS"), /* can be NULL */
@@ -12812,6 +12816,7 @@ readcmd(int argc UNUSED_PARAM, char **argv UNUSED_PARAM)
12812 opt_t, 12816 opt_t,
12813 opt_u 12817 opt_u
12814 ); 12818 );
12819 INT_ON;
12815 12820
12816 if ((uintptr_t)r > 1) 12821 if ((uintptr_t)r > 1)
12817 ash_msg_and_raise_error(r); 12822 ash_msg_and_raise_error(r);