Tiny fixes
This commit is contained in:
parent
53e240add7
commit
5fff65db5a
2 changed files with 7 additions and 1 deletions
|
|
@ -217,6 +217,7 @@ jobs:
|
||||||
- ccache
|
- ccache
|
||||||
- directories:
|
- directories:
|
||||||
- $HOME/Qt
|
- $HOME/Qt
|
||||||
|
- $HOME/.ccache
|
||||||
|
|
||||||
# ------------------------------------------------------
|
# ------------------------------------------------------
|
||||||
- name: Android
|
- name: Android
|
||||||
|
|
|
||||||
|
|
@ -80,7 +80,12 @@ WireguardConfigurator::ConnectionData WireguardConfigurator::prepareWireguardCon
|
||||||
stdOut += data + "\n";
|
stdOut += data + "\n";
|
||||||
};
|
};
|
||||||
|
|
||||||
m_serverController->runContainerScript(credentials, container, script, cbReadStdOut);
|
e = m_serverController->runContainerScript(credentials, container, script, cbReadStdOut);
|
||||||
|
if (errorCode && e) {
|
||||||
|
*errorCode = e;
|
||||||
|
return connData;
|
||||||
|
}
|
||||||
|
|
||||||
stdOut.replace("AllowedIPs = ", "");
|
stdOut.replace("AllowedIPs = ", "");
|
||||||
stdOut.replace("/32", "");
|
stdOut.replace("/32", "");
|
||||||
QStringList ips = stdOut.split("\n", Qt::SkipEmptyParts);
|
QStringList ips = stdOut.split("\n", Qt::SkipEmptyParts);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue