From 5289c14095ec7fe0676a0dd3c3084ead095da1a5 Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Tue, 27 Aug 2024 13:18:05 -0500 Subject: [PATCH] message format --- tunnel-nim/tunnel.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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() =