CrowdStrike / falcon-scripts

Scripts to streamline the deployment and use of the CrowdStrike Falcon sensor
The Unlicense
145 stars 85 forks source link

fix(windows_install): add better error handling around exitcode #320

Closed carlosmmatos closed 3 months ago

carlosmmatos commented 3 months ago

Closes #319

Fixes an issue where the $errOut message was null because it didn't exist from the process itself. Now we check and handle that case. Also fixes an issue with the default ProvWaitTime. It was not set in milliseconds, so technically it was waiting for 1.2 seconds instead of the default 20 minutes 😮‍💨