Skip to content

Commit

Permalink
Add sudo
Browse files Browse the repository at this point in the history
  • Loading branch information
tcorbly committed Jan 18, 2024
1 parent 58f678e commit c62ff31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/HomeWidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ void HomeWidget::reboot()
return;

QProcess create3ServerStop;
create3ServerStop.start("systemctl", QStringList() << "stop" << "create3_server.service");
create3ServerStop.start("sudo systemctl", QStringList() << "stop" << "create3_server.service");
bool create3StopRet = create3ServerStop.waitForFinished();
if(create3StopRet == false)
QMessageBox::information(this, "Failed", "Create 3 server could not be stopped.");
Expand Down

0 comments on commit c62ff31

Please sign in to comment.