I didn't take a look on where the problem could be, but it is discussed on stackoverflow [1].

Looks like return builtin falsely exit execution of while loop instead of function.


[1] http://stackoverflow.com/questions/7109720/behavior-of-return-statement-in-bash-functions

RR

Reply via email to