結果 : bash save exit code in variable