Good Afternoon!
I'm not sure if someone could help me figure out what is going on with this. We are currently deploying the CrowdStrike Falcon Sensor in our environment, and have a policy that pushes out the install package and a script. The install package works without issue, but we are having some issues with the script.
When the endpoint is licensed already, the script returns a failed status code and a status message as to why it failed in Jamf ("ERROR: The machine is already licensed"), but does not return that message in the script so we can tell it to succeed in the case that it is already licensed.
#!/bin/sh
# THIS SCRIPT LICENSES THE CROWDSTRIKE FALCON SENSOR
RESULT=$(/Applications/Falcon.app/Contents/Resources/falconctl license "$4")
echo "
OUTPUT:
${RESULT}
"
Which results in the following:
Script result: Error: This machine is already licensed
OUTPUT:
Any idea what is going on here?