Bug#211886: dselect: should exit with nonzero status when receiving SIGINT
Package: dselect
Version: 1.10.10
Severity: normal
When dselect is killed with a keyboard interrupt, it should exit with an
abnormal status.
redwald:~# dselect update
Get:1 http://http.us.debian.org unstable/main Packages [2582kB]
Get:2 http://security.debian.org stable/updates/main Packages [162kB]
Hit http://non-us.debian.org unstable/non-US/main Packages
Get:3 http://non-us.debian.org unstable/non-US/main Release [92B]
Hit http://non-us.debian.org unstable/non-US/main Sources
Get:4 http://non-us.debian.org unstable/non-US/main Release [91B]
Hit http://non-us.debian.org testing/non-US/main Packages
Get:5 http://non-us.debian.org testing/non-US/main Release [91B]
Hit http://non-us.debian.org testing/non-US/main Sources
Get:6 http://non-us.debian.org testing/non-US/main Release [90B]
Hit http://non-us.debian.org stable/non-US/main Packages
Hit http://non-us.debian.org stable/non-US/main Release
Hit http://non-us.debian.org stable/non-US/main Sources
Hit http://non-us.debian.org stable/non-US/main Release
3% [Logging in] [1 Packages 69528/2582kB 2%] [2 Packages 19927/162kB 12%]
update available list script was interrupted.
Press <enter> to continue.
redwald:~# echo $?
0
-- System Information:
Debian Release: testing/unstable
Architecture: powerpc
Kernel: Linux redwald 2.4.21-powerpc #1 mar jui 8 19:36:37 CEST 2003 ppc
Locale: LANG=C, LC_CTYPE=en_US
Versions of packages dselect depends on:
ii libc6 2.3.2-7 GNU C Library: Shared libraries an
ii libgcc1 1:3.3.2-0pre3 GCC support library
ii libncurses5 5.3.20030719-2 Shared libraries for terminal hand
ii libstdc++5 1:3.3.2-0pre3 The GNU Standard C++ Library v3
-- no debconf information
Reply to: