Replacing and with or

Replacing && with ||
This commit is contained in:
lunardunno 2025-05-12 07:07:43 +04:00 committed by GitHub
parent 00380dab0d
commit de3290b7a2
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"))
return ErrorCode::ServerPacketManagerError;
if (stdOut.contains("fuser not installed") && stdOut.contains("cat not installed"))
if (stdOut.contains("fuser not installed") || stdOut.contains("cat not installed"))
return ErrorCode::NoError;
if (stdOut.isEmpty()) {