mirror of
https://github.com/kemko/xc.git
synced 2026-01-06 18:25:45 +03:00
consistent remote option set
This commit is contained in:
@@ -318,10 +318,8 @@ func (c *Cli) doexec(mode execMode, argsLine string) {
|
||||
}
|
||||
|
||||
c.acquirePasswd()
|
||||
cmd := string(rest)
|
||||
remote.SetUser(c.user)
|
||||
remote.SetRaise(c.raiseType)
|
||||
remote.SetPassword(c.raisePasswd)
|
||||
cmd := string(rest)
|
||||
|
||||
if c.execConfirm {
|
||||
fmt.Printf("%s\n", term.Yellow(term.HR(len(cmd)+5)))
|
||||
|
||||
Reference in New Issue
Block a user