結果 : bash check for error code