Skip to content

Commit

Permalink
doh!
Browse files Browse the repository at this point in the history
  • Loading branch information
droyo committed Jul 26, 2016
1 parent 41a0c22 commit 824d9a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ func main() {
})

Hostname, err = os.Hostname()
Hostname = strings.SplitN(Hostname, ".", 1)[0]
Hostname = strings.SplitN(Hostname, ".", 2)[0]
if err != nil {
log.Fatal(err)
}
Expand Down

0 comments on commit 824d9a1

Please sign in to comment.