additional exception for "server is busy"

This commit is contained in:
lunardunno 2025-05-12 07:00:05 +04:00 committed by GitHub
parent 9ec818d611
commit 00380dab0d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -818,7 +818,7 @@ ErrorCode ServerController::isServerDpkgBusy(const ServerCredentials &credential
if (stdOut.contains("Packet manager not found")) if (stdOut.contains("Packet manager not found"))
return ErrorCode::ServerPacketManagerError; return ErrorCode::ServerPacketManagerError;
if (stdOut.contains("fuser not installed")) if (stdOut.contains("fuser not installed") && stdOut.contains("cat not installed"))
return ErrorCode::NoError; return ErrorCode::NoError;
if (stdOut.isEmpty()) { if (stdOut.isEmpty()) {