diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2021-09-07 02:23:51 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2021-09-07 02:25:52 +0200 |
commit | e53c7dbafc78948e5c0d8d8ccb0bdcd9f936c62e (patch) | |
tree | 909286fc381d47fba921621afb809a84997815fc /shell/ash_test/ash-misc | |
parent | f415e21a7dce1d4f4b760fddfaba85c551681e11 (diff) |
hush: fix set -n to act immediately, not just after run_list()
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/ash_test/ash-misc')
-rwxr-xr-x | shell/ash_test/ash-misc/exitcode_trap7.tests | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/ash_test/ash-misc/exitcode_trap7.tests b/shell/ash_test/ash-misc/exitcode_trap7.tests index 9772a7b8c..f4b0eb544 100755 --- a/shell/ash_test/ash-misc/exitcode_trap7.tests +++ b/shell/ash_test/ash-misc/exitcode_trap7.tests @@ -1,6 +1,6 @@ $THIS_SH -c ' cleanup() { set +e; false; } -set -eu +set -e trap cleanup EXIT echo Start ' |