結果 : bash save return code to variable