Skip to content
This repository was archived by the owner on Feb 27, 2018. It is now read-only.

Commit 5918773

Browse files
committed
Merge pull request #78 from yacn/fix/broken-cmdSSH
Fixes util.go/cmd() so cmdSSH() works again
2 parents d88b216 + 4603d47 commit 5918773

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

util.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,5 +124,10 @@ func cmd(name string, args ...string) error {
124124
cmd.Stdout = os.Stdout
125125
cmd.Stderr = os.Stderr
126126
}
127+
if name == B2D.SSH {
128+
cmd.Stdin = os.Stdin
129+
cmd.Stdout = os.Stdout
130+
cmd.Stderr = os.Stderr
131+
}
127132
return cmd.Run()
128133
}

0 commit comments

Comments
 (0)