hush: fix var=`exit 2` not setting $? to 2
authorDenys Vlasenko <vda.linux@googlemail.com>
Thu, 20 May 2010 12:27:09 +0000 (14:27 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Thu, 20 May 2010 12:27:09 +0000 (14:27 +0200)
commitcddbb610cb0ea8d74668653aeaded710d2d13768
treefea97f7c4fd0871543502d2fcefc189ee5d68288
parent131ed3bcc9c9eabcb4bd6a063c24c6f9922f1491
hush: fix var=`exit 2` not setting $? to 2

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
shell/hush.c
shell/hush_test/hush-psubst/falsetick.right [new file with mode: 0644]
shell/hush_test/hush-psubst/falsetick.tests [new file with mode: 0755]