From: Max Kirillov <hidden> Date: 2016-06-15 23:04:18
Hi.
As far as I can see, loops in shell ignore non-zero exit
codes of the bodies which are not last. For example, exit
code of command 'for f in false true; do $f; done' is 0,
even if there was false.
How should one workaround it in test scripts, is there any
established approach?
--
Max