Exit code with bash script and Jamf

edjmac
New Contributor

I have a some code with an "exit 1" on a fail for a if/then. Instead of exiting the script it continues to run some commands at the end of the script when run via jamf policy. If I run the script directly it works fine. Am I missing something?

0 REPLIES 0