 |
Difference between return and exit in BASH functions - Stack ...
2010年12月12日 - Protip: type help in your shell to get info on ... return returns a value from a function. exit abandons the current shell. ... Exit codes are intended for applications/scripts, not functions.
stackoverflow.com |
 |