結果 : bash assign command exit code to variable