Update manage-osqueryd.ps1 (#3008)

This commit is contained in:
raviteja7 2017-02-19 17:21:57 -05:00 committed by Nick Anderson
parent 6781059d9b
commit d5f0ab89ae

View File

@ -18,7 +18,7 @@ param(
)
$kServiceName = "osquery daemon service"
$kServiceBinaryPath = Resolve-Path ([System.IO.Path]::Combine($PSScriptRoot, '..', 'build', 'windows10', 'osquery', 'Release', 'osqueryd.exe'))
$kServiceBinaryPath = Resolve-Path ([System.IO.Path]::Combine($PSScriptRoot, '..', 'osquery', 'osqueryd', 'osqueryd.exe'))
# Adapted from http://www.jonathanmedd.net/2014/01/testing-for-admin-privileges-in-powershell.html
function Test-IsAdmin {
@ -128,4 +128,4 @@ function Main {
}
}
$null = Main
$null = Main