Skip to content

Commit

Permalink
More debug prints
Browse files Browse the repository at this point in the history
  • Loading branch information
Darkren committed Nov 28, 2019
1 parent 2992171 commit 415b4fd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmd/apps/therealssh/therealssh.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ func main() {
log = app.NewLogger(appName)
ssh.Log = log.PackageLogger("therealssh")

var authFile = flag.String("auth", "~/.therealssh/authorized_keys", "Auth file location. Should contain one PubKey per line.")
// TODO: change back to the tilda-like home path
var authFile = flag.String("auth", "/Users/darkrengarius/.therealssh/authorized_keys", "Auth file location. Should contain one PubKey per line.")
var debug = flag.Bool("debug", false, "enable debug messages")

flag.Parse()
Expand All @@ -51,6 +52,7 @@ func main() {

path, err := homedir.Expand(*authFile)
if err != nil {
log.Errorf("Error expanding auth file path %s: %v\n", *authFile, err)
log.Fatal("Failed to resolve auth file path: ", err)
}

Expand Down
2 changes: 2 additions & 0 deletions vendor/github.com/SkycoinProject/dmsg/disc/client.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 415b4fd

Please sign in to comment.