diff options
author | Denys Vlasenko | 2016-11-24 17:44:02 +0100 |
---|---|---|
committer | Denys Vlasenko | 2016-11-24 17:44:02 +0100 |
commit | 8660aeb3127416a53e0b2e43bb1a82907f468692 (patch) | |
tree | 3797b0012e544ff040993b43b31ccb58f6e43a6f /shell/ash.c | |
parent | 2e4ef38743c3d4aef109b5cc04429ec1f0e2f6c8 (diff) | |
download | busybox-8660aeb3127416a53e0b2e43bb1a82907f468692.zip busybox-8660aeb3127416a53e0b2e43bb1a82907f468692.tar.gz |
ash,hush: ^C from command line should set $? to 128+SIGINT
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/ash.c')
-rw-r--r-- | shell/ash.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/shell/ash.c b/shell/ash.c index 15246f5..3e5a3b3 100644 --- a/shell/ash.c +++ b/shell/ash.c @@ -9876,6 +9876,7 @@ preadfd(void) raise(SIGINT); return 1; } + exitstatus = 128 + SIGINT; goto retry; } if (nr < 0) { |