結果 : bash check if last command executed successfully