From d73397da87e0d33ca9509e9120e6289d41e95499 Mon Sep 17 00:00:00 2001 From: Joe Date: Mon, 18 Dec 2023 20:20:20 +0100 Subject: added LICENSE --- c_exec.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'c_exec.go') diff --git a/c_exec.go b/c_exec.go index b0145f6..fc42957 100644 --- a/c_exec.go +++ b/c_exec.go @@ -106,16 +106,16 @@ func c_format_rdp() { func c_format_cmd(id uint64, lhost *HostList) { host := lhost.head - // var cmd_fmt []string + var cmd_fmt []string host = lhost.sel(id) if host == nil { c_die("host id not found", nil) } if host.Type == 0 { - // cmd_fmt = format_ssh(host) + cmd_fmt = c_format_ssh(host) } - // exec_cmd(cmd_fmt) + c_exec_cmd(cmd_fmt) } func c_display_servers(lhost *HostList) { -- cgit v1.2.3