aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/manager/service.go
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2019-08-28 08:22:03 -0600
committerJason A. Donenfeld <Jason@zx2c4.com>2019-08-30 08:47:21 -0600
commit431f812450f93090967b23c633446fc618a44118 (patch)
tree2d57da00c22f339369ccf6eeb8dd4c3dd406116c /manager/service.go
parentmanager: clean stale adapters on startup (diff)
downloadwireguard-windows-431f812450f93090967b23c633446fc618a44118.tar.xz
wireguard-windows-431f812450f93090967b23c633446fc618a44118.zip
manager: fix nits in adapter cleanup logic and also handle ā€˜%sā€™ uniformly
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to '')
-rw-r--r--manager/service.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/manager/service.go b/manager/service.go
index 7ab3db16..8a525b12 100644
--- a/manager/service.go
+++ b/manager/service.go
@@ -182,7 +182,7 @@ func (service *managerService) Execute(args []string, r <-chan svc.ChangeRequest
return
}
- log.Printf("Starting UI process for user '%s@%s' for session %d", username, domain, session)
+ log.Printf("Starting UI process for user ā€˜%s@%sā€™ for session %d", username, domain, session)
attr := &os.ProcAttr{
Sys: &syscall.SysProcAttr{
Token: syscall.Token(elevatedToken),
@@ -247,7 +247,7 @@ func (service *managerService) Execute(args []string, r <-chan svc.ChangeRequest
}()
}
- go cleanStaleAdapters()
+ go cleanupStaleAdapters()
go checkForUpdates()
var sessionsPointer *windows.WTS_SESSION_INFO