mirror of https://github.com/docker/docs.git
just return sshCmd.Run
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
This commit is contained in:
parent
13afcfe3ed
commit
bce80946d1
|
@ -368,10 +368,7 @@ func (d *Driver) Upgrade() error {
|
|||
sshCmd.Stdin = os.Stdin
|
||||
sshCmd.Stdout = os.Stdout
|
||||
sshCmd.Stderr = os.Stderr
|
||||
if err := sshCmd.Run(); err != nil {
|
||||
return fmt.Errorf("%s", err)
|
||||
}
|
||||
return nil
|
||||
return sshCmd.Run()
|
||||
}
|
||||
|
||||
func (d *Driver) GetSSHCommand(args ...string) (*exec.Cmd, error) {
|
||||
|
|
Loading…
Reference in New Issue