The structure is:
while cmd; do
done
bash doesn't accept it at all. We were accepting it but execution
was buggy.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
5 lines
77 B
Plaintext
Executable File
5 lines
77 B
Plaintext
Executable File
while false; do
|
|
# bash will require at least ":" here...
|
|
done
|
|
echo OK:$?
|