[Touch-packages] [Bug 673119] Re: dash "set -e" breaks "trap action INT"

2020-07-28 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: dash (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to dash in Ubuntu.

[Touch-packages] [Bug 673119] Re: dash "set -e" breaks "trap action INT"

2020-07-06 Thread Jarno Suni
Output by dash 0.5.10.2-6: 3 ^CIgnored 1 Ignored 2 Back EXIT bash 5.0.3 works the same way. To get the output you want, you can use the following code: -- #!/bin/sh #set -e trap '' INT trap 'echo EXIT' EXIT sorry() { echo "Ignored 1"; echo "Ignored 2" sleep 1 echo Back } for

[Touch-packages] [Bug 673119] Re: dash "set -e" breaks "trap action INT"

2018-05-09 Thread ZoFreX
This bug is... now different. But not fixed. Using Dash 0.5.8-2.10, the output I get from the script is: 3 ^CEXIT Ignored 1 Ignored 2 Back Note that EXIT fires a lot earlier than expected, and the script unexpectedly terminates. I still see similar behaviour to the original bug (only one line