diff --git a/selfdrive/ui/qt/text.cc b/selfdrive/ui/qt/text.cc index 24bfcd2540..435c451e6b 100644 --- a/selfdrive/ui/qt/text.cc +++ b/selfdrive/ui/qt/text.cc @@ -51,7 +51,7 @@ int main(int argc, char *argv[]) { const std::string cmd4 = "git reset --hard origin-update/" + git_branch; QFuture future = QtConcurrent::run([=]() { - std::system(("cd /data/openpilot && " + cmd1 + " && " + cmd2 + " && " + cmd3 + " && " cmd4).c_str()); + std::system(("cd /data/openpilot && " + cmd1 + " && " + cmd2 + " && " + cmd3 + " && " + cmd4).c_str()); }); QObject::connect(&watcher, &QFutureWatcher::finished, [btn]() { btn->setEnabled(true);