summaryrefslogtreecommitdiffstats
path: root/contrib/libreadline/complete.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/libreadline/complete.c')
-rw-r--r--contrib/libreadline/complete.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/libreadline/complete.c b/contrib/libreadline/complete.c
index 3606d50..9a930a1 100644
--- a/contrib/libreadline/complete.c
+++ b/contrib/libreadline/complete.c
@@ -429,7 +429,7 @@ get_y_or_n (for_pager)
return (1);
if (c == 'n' || c == 'N' || c == RUBOUT)
return (0);
- if (c == ABORT_CHAR)
+ if (c == ABORT_CHAR || c < 0)
_rl_abort_internal ();
if (for_pager && (c == NEWLINE || c == RETURN))
return (2);
OpenPOWER on IntegriCloud