about summary refs log tree commit diff
path: root/main.go
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@gmail.com>2017-02-11T15·19+0100
committerVincent Ambo <tazjin@gmail.com>2017-02-11T15·19+0100
commite6c3212018b6bcbe4a83c3e7c557fc43b0e7571d (patch)
tree8872b841d24eb9d47e523150a381d6b93c1194a7 /main.go
parent01ad38d5320e0b6d2f27d6f0c7b44f82be1887d6 (diff)
chore: Don't print URLs
Diffstat (limited to 'main.go')
-rw-r--r--main.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/main.go b/main.go
index 11f27260e3..b556d606dd 100644
--- a/main.go
+++ b/main.go
@@ -46,7 +46,7 @@ func main() {
 		os.Exit(1)
 	}
 
-	fmt.Println("Login succeeded, you may now (quickly) authenticate OpenVPN with %s as your password", token)
+	fmt.Printf("Login succeeded, you may now (quickly) authenticate OpenVPN with %d as your password\n", token)
 }
 
 func triggerChallengeResponse(host *string, username *string, password *string) (r Resp, err error) {
@@ -76,7 +76,6 @@ func logon(host *string, challenge *Resp, token *string) (err error) {
 }
 
 func request(url string) (r Resp, err error) {
-	fmt.Println(url)
 	resp, err := http.Get(url)
 	if err != nil {
 		return