Fix error description

Fix error description for podman-docker.
Checking the docker version via sudo, for correct detection of podman-docker.
This commit is contained in:
lunardunno 2025-04-07 07:26:17 +04:00
parent ed1d67fcdf
commit 8331b9ea52
4 changed files with 7 additions and 7 deletions

View file

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