aboutsummaryrefslogtreecommitdiff
path: root/shell/ash_test/ash-getopts/getopt_simple.tests
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2020-02-17 11:22:59 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2020-02-17 11:22:59 +0100
commitafc91faeddd6b8234dccea2f7913f57a5bb3d1ec (patch)
treeae4b2d8f7802cc94987841832d010ba3129773a1 /shell/ash_test/ash-getopts/getopt_simple.tests
parent9ee5892798be81f7a6f3e070ecd52cbf0d55740e (diff)
downloadbusybox-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-getopts/getopt_simple.tests')
0 files changed, 0 insertions, 0 deletions