diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-08-26 07:30:17 -0600 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-08-26 07:43:49 -0600 |
commit | 7a33df13357bf2b760e8df5bd6ec43d2e13f8ab0 (patch) | |
tree | 889bd4fac7ad182f8902eab3963ca975dc2ca935 /elevate/shellexecute.go | |
parent | firewall: use RtlGetNtVersionNumbers for kernel compat checks (diff) | |
download | wireguard-windows-7a33df13357bf2b760e8df5bd6ec43d2e13f8ab0.tar.xz wireguard-windows-7a33df13357bf2b760e8df5bd6ec43d2e13f8ab0.zip |
elevate: mark as terminal services aware
Diffstat (limited to 'elevate/shellexecute.go')
-rw-r--r-- | elevate/shellexecute.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/elevate/shellexecute.go b/elevate/shellexecute.go index 149a4c57..c4cd04da 100644 --- a/elevate/shellexecute.go +++ b/elevate/shellexecute.go @@ -94,7 +94,7 @@ func ShellExecute(program string, arguments string, directory string, show int32 return } var windowsDirectory [windows.MAX_PATH]uint16 - if _, err = getWindowsDirectory(&windowsDirectory[0], windows.MAX_PATH); err != nil { + if _, err = getSystemWindowsDirectory(&windowsDirectory[0], windows.MAX_PATH); err != nil { return } originalPath := dataTableEntry.FullDllName.Buffer |