結果 : bash assign exit code to variable