}
http.HandleFunc(*norefreshURLPath, handler)
http.HandleFunc(*refreshURLPath, handler)
- http.HandleFunc(*gpgUpdateURLPath, handler)
+ if *gpgUpdateURLPath != "" {
+ http.HandleFunc(*gpgUpdateURLPath, handler)
+ }
needsRefreshPasswd := make(chan os.Signal, 0)
needsShutdown := make(chan os.Signal, 0)