結果 : how to check return value of function in shell script