`script` hangs when killing the child process with ^C
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
util-linux (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
1) The release of Ubuntu you are using, via 'lsb_release -rd' or System -> About Ubuntu
Description: Ubuntu 18.04.3 LTS
Release: 18.04
2) The version of the package you are using, via 'apt-cache policy pkgname' or by checking in Software Center
util-linux:
Installed: 2.31.1-0.4ubuntu3.4
Candidate: 2.31.1-0.4ubuntu3.4
Version table:
*** 2.31.1-0.4ubuntu3.4 500
500 http://
100 /var/lib/
2.
500 http://
2.
90 http://
2.
500 http://
3) What you expected to happen
Running script --command 'sleep 5', and hitting ctrl+c before the sleep command exits, causes script to hang indefinitely.
4) What happened instead
ctrl-c should exit script without hanging.
Note: already fixed upstream, see: https:/