Skip to content

Commit

Permalink
misc
Browse files Browse the repository at this point in the history
  • Loading branch information
Sandeep Jadoonanan committed Nov 20, 2017
1 parent f73fe4e commit b46de40
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions proxy/proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ func (s *SSHProxy) Args() []string {
// Connect to host.
func (s *SSHProxy) Connect() error {
args := s.Args()
fmt.Printf("\nWould run: %v %v\n", args[0], strings.Join(args[1:], " "))
fmt.Printf("\nWould run: %v\n", strings.Join(args, " "))

// Make command, and pipe streams.
cmd := exec.Command(args[0], args[1:]...)
Expand All @@ -94,7 +94,6 @@ func (s *SSHProxy) Connect() error {

// Run command.
return cmd.Run()
// return nil
}

// Validate SSHProxy fields.
Expand Down
2 changes: 1 addition & 1 deletion task/task.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"strings"
)

// SSHTask -
// SSHTask is a command that will be run on a specific host.
type SSHTask struct {
Command string
Name string
Expand Down

0 comments on commit b46de40

Please sign in to comment.