diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2020-02-14 17:32:22 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2020-02-16 19:14:45 +0100 |
commit | 970470e235fd2a00d4b020378ddccf769ce534ec (patch) | |
tree | f27dc4e837664f7e935eba76bf9491bdd74a7fd2 /shell/ash_test/ash-misc/tickquote1.tests | |
parent | 4ccddc8fb37b7f585c2d62f6e61ad17295399aff (diff) | |
download | busybox-970470e235fd2a00d4b020378ddccf769ce534ec.tar.gz |
ash: main: Only set savestatus in exitcmd
Upstream commit:
Date: Sat, 19 May 2018 02:39:38 +0800
main: Only set savestatus in exitcmd
Currently exitcmd sets exitstatus and then savestatus if the latter
was previously set. In fact, as exitcmd always raises an exception
and will either end up in the setjmp call in main() or exitshell(),
where exitstatus is always replaced by savestatus if set, we only
need to set savestatus.
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-misc/tickquote1.tests')
0 files changed, 0 insertions, 0 deletions