diff --git a/tunnel-nim/tunnel.nim b/tunnel-nim/tunnel.nim index 0688354..170a02e 100644 --- a/tunnel-nim/tunnel.nim +++ b/tunnel-nim/tunnel.nim @@ -15,7 +15,7 @@ proc exitSsh(name: string):int = execCmd &"ssh -O exit {name}" proc up(port: int, host: seq[string]) = ## activate a tunnel let name = checkHost host - echo "activating connection to", name + echo "activating connection to: ", name if not check(name): startSsh(name) quit activateTunnel(name, port) @@ -23,7 +23,7 @@ proc up(port: int, host: seq[string]) = proc down(host: seq[string]) = ## disable all tunnels let name = checkHost host - echo "deactivating connection to", name + echo "deactivating connection to: ", name quit exitSsh(name) proc show() =