hush/shell/ash_test/ash-misc/exit1.tests

5 lines
90 B
Plaintext
Raw Normal View History

trap "echo Not shown" EXIT
(exit) # must be silent
trap "echo Once; exit" EXIT
{ exit; }