aboutsummaryrefslogtreecommitdiffstats
path: root/c_exec.go
diff options
context:
space:
mode:
Diffstat (limited to 'c_exec.go')
-rw-r--r--c_exec.go6
1 files changed, 3 insertions, 3 deletions
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) {