hush: fix another case where empty "for" wasn't setting exitcode to 0
authorDenys Vlasenko <vda.linux@googlemail.com>
Sat, 28 Jul 2018 10:42:08 +0000 (12:42 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sat, 28 Jul 2018 10:42:08 +0000 (12:42 +0200)
commita5db1d7354977fe295882ff557e8f5fb23741b13
treefab0fd9d857d1e9de4ed030c03e194e18312f28f
parenta8e7441176ec945a1bfb117a1067ac3a6680a19c
hush: fix another case where empty "for" wasn't setting exitcode to 0

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