diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2020-02-17 11:22:59 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2020-02-17 11:22:59 +0100 |
commit | afc91faeddd6b8234dccea2f7913f57a5bb3d1ec (patch) | |
tree | ae4b2d8f7802cc94987841832d010ba3129773a1 /shell/ash_test/ash-glob/glob_bkslash_in_var.tests | |
parent | 9ee5892798be81f7a6f3e070ecd52cbf0d55740e (diff) | |
download | busybox-afc91faeddd6b8234dccea2f7913f57a5bb3d1ec.tar.gz |
ash: mkinit: Split reset into exitreset and reset
Upstream commit:
Date: Sat, 19 May 2018 02:39:40 +0800
mkinit: Split reset into exitreset and reset
Previously reset was called after exitshell. This was changed
so that it was called before exitshell because certain state needed
to be reset in order for the EXIT trap to work.
However, this caused issues because certain other states (such
as local variables) should not be reset. This patch fixes this
by creating a new function exitreset that is called prior to
exitshell and moving reset back to its original location.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/ash_test/ash-glob/glob_bkslash_in_var.tests')
0 files changed, 0 insertions, 0 deletions