結果 : bash check return of function