busybox/shell/ash_test/ash-misc/empty_for1.tests
Denys Vlasenko a5db1d7354 hush: fix another case where empty "for" wasn't setting exitcode to 0
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2018-07-28 12:42:08 +02:00

6 lines
42 B
Plaintext
Executable File

false
for v; do
exit 2
done
echo Zero:$?