結果 : bash return from function on error