結果 : bash check function exit code