結果 : bash script save return code to variable