aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/service/service_tunnel.go
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2019-05-15 13:03:16 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2019-05-15 13:04:10 +0200
commitc883f79c9cbe950c3b7bafb0be189b4d075f9f50 (patch)
tree4ee114995fcf5989ea5d494ae8e276e52ba668c3 /service/service_tunnel.go
parentservice: move WTS upstream (diff)
downloadwireguard-windows-c883f79c9cbe950c3b7bafb0be189b4d075f9f50.tar.xz
wireguard-windows-c883f79c9cbe950c3b7bafb0be189b4d075f9f50.zip
ui: drop permissions
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'service/service_tunnel.go')
-rw-r--r--service/service_tunnel.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/service/service_tunnel.go b/service/service_tunnel.go
index 3c09ed77..be1eff69 100644
--- a/service/service_tunnel.go
+++ b/service/service_tunnel.go
@@ -151,7 +151,7 @@ func (service *tunnelService) Execute(args []string, r <-chan svc.ChangeRequest,
}
logger.Info.Println("Dropping all privileges")
- err = dropAllPrivileges()
+ err = DropAllPrivileges()
if err != nil {
serviceError = ErrorDropPrivileges
return