Does the script exit code: 0 mean that the policy was not applied? And does the script exit code: 1 mean that the policy was applied?
Page 1 / 1
Exit 0 = Script Executed successfully
Exit 1 = Script Executed unsuccessfully (there we're errors or problems)
You may want to look up some guides on bash script exit codes, like here: http://steve-parker.org/sh/exitcodes.shtml
There are others too.
Exit code 0 almost always means it was successful. Anything other than 0 means it failed.
Thanks, Ross...thanks, Mike. It's just the reverse of what I had thought.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.