From 49d84c9e7b39204c8cf4a0705a4bd093adc0e8d2 Mon Sep 17 00:00:00 2001 From: lunardunno <126363523+lunardunno@users.noreply.github.com> Date: Sat, 22 Mar 2025 20:26:18 +0400 Subject: [PATCH] test 3 --- client/core/controllers/serverController.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/client/core/controllers/serverController.cpp b/client/core/controllers/serverController.cpp index ca603ff0..871be8c7 100644 --- a/client/core/controllers/serverController.cpp +++ b/client/core/controllers/serverController.cpp @@ -439,15 +439,11 @@ ErrorCode ServerController::buildContainerWorker(const ServerCredentials &creden stdOut += data + "\n"; return ErrorCode::NoError; }; - auto cbReadStdErr = [&](const QString &data, libssh::Client &) { - stdOut += data + "\n"; - return ErrorCode::NoError; - }; ErrorCode error = runScript(credentials, replaceVars(amnezia::scriptData(SharedScriptType::build_container), genVarsForScript(credentials, container, config)), - cbReadStdOut); + cbReadStdOut, cbReadStdErr); if (stdOut.contains("runc doesn't work on cgroups v2")) return ErrorCode::ServerRuncNotWorkOnCgroupsV2;