Skip to content

Commit

Permalink
Merge pull request #137 from moul/fix-134-error
Browse files Browse the repository at this point in the history
Fix incorrect absolute path for ProxyCommand (thx @jedahan)
  • Loading branch information
moul committed Mar 22, 2016
2 parents 5f04b4c + a357c3a commit 84d32c7
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions pkg/commands/commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package commands

import (
"os"
"path/filepath"

"github.com/codegangsta/cli"
"github.com/moul/advanced-ssh-config/pkg/config"
Expand All @@ -11,10 +10,7 @@ import (
)

func init() {
asshPath, err := filepath.Abs(os.Args[0])
if err == nil {
config.ASSHBinary = asshPath
}
config.ASSHBinary = os.Args[0]
}

// Commands is the list of cli commands
Expand Down

0 comments on commit 84d32c7

Please sign in to comment.