From 8ec4232a96e6d3fd336fae23066a1f8d2d0cbaf6 Mon Sep 17 00:00:00 2001 From: lunardunno <126363523+lunardunno@users.noreply.github.com> Date: Sun, 27 Oct 2024 17:17:06 +0400 Subject: [PATCH] Renaming one of the errors --- client/core/controllers/serverController.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/core/controllers/serverController.cpp b/client/core/controllers/serverController.cpp index 2ae3086e..7183fa35 100644 --- a/client/core/controllers/serverController.cpp +++ b/client/core/controllers/serverController.cpp @@ -773,7 +773,7 @@ ErrorCode ServerController::isUserInSudo(const ServerCredentials &credentials, D if (stdErr.contains("command not found")) return ErrorCode::SudoPackageIsNotPreinstalled; if (stdErr.contains("sudoers")) - return ErrorCode::ServerUserNotInSudoers; + return ErrorCode::ServerUserNotListedInSudoers; if (stdErr.contains("password is required")) return ErrorCode::ServerUserPasswordRequired;