about summary refs log tree commit diff
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
parent01ad38d5320e0b6d2f27d6f0c7b44f82be1887d6 (diff)
chore: Don't print URLs
-rw-r--r--.gitignore1
-rw-r--r--main.go3
2 files changed, 2 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 000000000000..62c893550adb
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+.idea/
\ No newline at end of file
diff --git a/main.go b/main.go
index 11f27260e3ac..b556d606dd86 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