1 Commits

Author SHA1 Message Date
Vladislav Yarmak
6ebcb66a57 fix auth-secret command line argument 2021-06-25 23:33:20 +03:00

View File

@@ -179,6 +179,9 @@ func run() int {
mainLogger.Critical("Unable to construct WndClient: %v", err)
return 8
}
wndc.Mux.Lock()
wndc.State.Settings.ClientAuthSecret = args.clientAuthSecret
wndc.Mux.Unlock()
// Try ressurect state
state, err := loadState(args.stateFile)