Caveat emptor: I'm new to Jamf and this is my first post here.
I created a very simple script to change the computer name. I uploaded the script to Jamf Pro and created a policy to deploy the script. It works but Jamf reports it as a failure with this error:
**Script exit code: 127
Script result: /Library/Application Support/JAMF/tmp/JD - TEST: Change Computer Name: line 10: end: command not found
Error running script: return code was 127**
There is nothing in my script that references /Library/Application Support/JAMF/tmp
Can somebody tell me what I'm missing?
Thank you so much