Archiviert
1
0

Hotfix StatCommand

Dieser Commit ist enthalten in:
yoyosource 2022-09-18 13:46:39 +02:00
Ursprung 4cfb7830f9
Commit 43b123f2cf

Datei anzeigen

@ -44,7 +44,7 @@ public class StatCommand extends SWCommand {
if (!s.contains("--port")) if (!s.contains("--port"))
return; return;
serverCount.compute( serverCount.compute(
s.contains("ssh -L") ? s.substring(s.indexOf("ssh -L") + 6).split(" ")[2] : "local", s.contains("ssh -L") ? s.substring(s.indexOf("ssh -L") + 6).split(" ")[2] : "sw",
(server, count) -> (count != null ? count : 0) + 1 (server, count) -> (count != null ? count : 0) + 1
); );
}); });