結果 : bash set variable if command successful