This commit is contained in:
Ben Gräf 2017-10-20 20:07:25 +02:00
parent e245b50a41
commit d34d51d7a2
6 changed files with 25 additions and 27 deletions

View file

@ -130,9 +130,9 @@ void CCClient::publishClientStatusReport()
} else if (controlCommand.getCommand() == ControlCommand::RESTART) {
LOG_WARN("[CC-Client] Command: RESTART received -> restart");
App::restart();
} else if (controlCommand.getCommand() == ControlCommand::QUIT) {
LOG_WARN("[CC-Client] Command: QUIT received -> quit");
App::quit();
} else if (controlCommand.getCommand() == ControlCommand::SHUTDOWN) {
LOG_WARN("[CC-Client] Command: SHUTDOWN received -> shutdown");
App::shutdown();
}
} else {
LOG_ERR("[CC-Client] Unknown command received from CC Server.");