Parcourir la source

auto update script executed

Toby Chui il y a 1 an
Parent
commit
8c77e33ef6
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      mod/ganserv/authkey.go

+ 1 - 0
mod/ganserv/authkey.go

@@ -33,6 +33,7 @@ func TryLoadorAskUserForAuthkey() string {
 		b, err := os.ReadFile("/var/lib/zerotier-one/authtoken.secret")
 		if err == nil {
 			log.Println("Zerotier authkey loaded")
+			fmt.Println(authKey)
 			authKey = string(b)
 		} else {
 			log.Println("Unable to read authkey at /var/lib/zerotier-one/authtoken.secret: ", err.Error())