Added handling to serverController

Added "Docker is not supported" handling to serverController
This commit is contained in:
lunardunno 2025-04-07 05:08:15 +04:00 committed by GitHub
parent e2ca10d339
commit 5dd644fd58
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -409,6 +409,8 @@ ErrorCode ServerController::installDockerWorker(const ServerCredentials &credent
qDebug().noquote() << "ServerController::installDockerWorker" << stdOut; qDebug().noquote() << "ServerController::installDockerWorker" << stdOut;
if (stdOut.contains("lock")) if (stdOut.contains("lock"))
return ErrorCode::ServerPacketManagerError; return ErrorCode::ServerPacketManagerError;
if (stdOut.contains("Docker is not supported"))
return ErrorCode::ServerDockerNotSupported;
if (stdOut.contains("command not found")) if (stdOut.contains("command not found"))
return ErrorCode::ServerDockerFailedError; return ErrorCode::ServerDockerFailedError;