結果 : check return code of function bash