hush: case logic for setting $? was still wrong
authorDenys Vlasenko <vda.linux@googlemail.com>
Fri, 4 Nov 2016 19:14:04 +0000 (20:14 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Fri, 4 Nov 2016 19:14:04 +0000 (20:14 +0100)
commitaeaee43d5a4fc95405cc2047227d096b1ada55b6
tree3b98a3650e486dde735a4e24a367d3622a985e13
parent30bfcf612b0862e4dd98d923eabb308b54012d24
hush: case logic for setting $? was still wrong

Resetting to 0 should happen in "esac". Matched branch must
still see previous $?.

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
shell/hush.c