Arnout Vandecappelle wrote:
I guess you have a 'set -e' somewhere in your script?
let returns the value it computed, so if $foo is different from 0, it will
return non-0. This causes the shell to exit.
It's POSIX behaviour.
Bash "let" returns 1 if there is a sytax error within the express
On 17-11-16 16:43, Pavel A wrote:
> Dear experts,
>
> We have a strange problem with ash script: the shell silently exits while
> executing a script. It is likely caused by a "let" command.
> Anyone seen similar behavior? How to debug it?
>
> Busybox version is 1.22.1 (this is what it prints