結果 : bash assign exit status to variable