Skip to content

Commit

Permalink
Made check for already installed sensor more descriptive with exit 0 (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosmmatos authored Mar 21, 2023
1 parent 05120c6 commit 65940eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions powershell/install/falcon_windows_install.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -297,9 +297,9 @@ process {
Exit 0
}
elseif (Get-Service | Where-Object { $_.Name -eq 'CSFalconService' }) {
$Message = "'CSFalconService' running"
$Message = "'CSFalconService' running. Falcon sensor is already installed."
Write-FalconLog 'CheckService' $Message
throw $Message
exit 0
}
else {
if (!$FalconClientId) {
Expand Down

0 comments on commit 65940eb

Please sign in to comment.