I am running the below script to autoupdate MS Defender. The script will run fine when I run it locally but will not run via Jamf
#!/bin/sh
cd /Library/Application\\ Support/Microsoft/MAU2.0/Microsoft\\ AutoUpdate.app/Contents/MacOS
./msupdate --install --apps wdav00
On most macs it looks like the script has run fine and Script error code is 0 but MS Defender does not update.
A few macs give below error
Script exit code: 139 |
Script result: /Library/Application Support/JAMF/tmp/ie.tudublin.script.UpdateMSDefender.sh: line 3: 11274 Segmentation fault: 11 ./msupdate --install --apps wdav00 |
Error running script: return code was 139. |