stdErr handling fot run_container
Enabling stdErr handling fot run_container.sh
This commit is contained in:
parent
2634af60a4
commit
9d15371869
1 changed files with 4 additions and 0 deletions
|
|
@ -457,6 +457,10 @@ ErrorCode ServerController::runContainerWorker(const ServerCredentials &credenti
|
||||||
stdOut += data + "\n";
|
stdOut += data + "\n";
|
||||||
return ErrorCode::NoError;
|
return ErrorCode::NoError;
|
||||||
};
|
};
|
||||||
|
auto cbReadStdErr = [&](const QString &data, libssh::Client &) {
|
||||||
|
stdOut += data + "\n";
|
||||||
|
return ErrorCode::NoError;
|
||||||
|
};
|
||||||
|
|
||||||
ErrorCode e = runScript(credentials,
|
ErrorCode e = runScript(credentials,
|
||||||
replaceVars(amnezia::scriptData(ProtocolScriptType::run_container, container),
|
replaceVars(amnezia::scriptData(ProtocolScriptType::run_container, container),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue