summaryrefslogtreecommitdiff
path: root/src/rhctl/telnet.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/rhctl/telnet.go')
-rw-r--r--src/rhctl/telnet.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rhctl/telnet.go b/src/rhctl/telnet.go
index c4212e6..e693e70 100644
--- a/src/rhctl/telnet.go
+++ b/src/rhctl/telnet.go
@@ -113,7 +113,7 @@ func telnetCmdSwitch(c *telgo.Client, args []string, ctrl *SwitchControl) bool {
return false
}
resp := make(chan interface{})
- ctrl.Commands <- &Command{Type: CmdStatus, Args: args[1:], Response: resp}
+ ctrl.Commands <- &Command{Type: CmdSwitch, Args: args[1:], Response: resp}
r := <-resp
switch r.(type) {
case error: