結果 : bash use return value of function