summaryrefslogtreecommitdiffhomepage
path: root/shell/hush_test/hush-misc/exitcode_trap7.tests
blob: f4b0eb54466998fa6d1d81a4f18afc202b90c973 (plain)
1
2
3
4
5
6
7
$THIS_SH -c '
cleanup() { set +e; false; }
set -e
trap cleanup EXIT
echo Start
'
echo Ok:$?