aboutsummaryrefslogtreecommitdiffstats
path: root/src/i_events.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/i_events.go')
-rw-r--r--src/i_events.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/i_events.go b/src/i_events.go
index b0d0fda..268fda5 100644
--- a/src/i_events.go
+++ b/src/i_events.go
@@ -340,8 +340,9 @@ func i_set_protocol_defaults(data *HardData, in *HostNode) {
data.ui.insert_sel_max = INS_RDP_OK + len(in.Drive)
in.drive_keys = nil
case PROTOCOL_CMD:
+ in.Silent = false
in.Shell = []string{"/bin/sh", "-c"}
- data.ui.insert_sel_max = 2
+ data.ui.insert_sel_max = INS_CMD_OK
case PROTOCOL_OS:
in.Stack.RegionName = "eu-west-0"
in.Stack.IdentityAPI = "3"