結果 : bash store exit code in variable