結果 : bash capture return value of function