Posted on 02-20-2015 08:31 AM
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?
Solved! Go to Solution.
Posted on 02-20-2015 08:40 AM
Exit 0 = Script Executed successfully Exit 1 = Script Executed unsuccessfully (there we're errors or problems)
Posted on 02-20-2015 08:40 AM
Exit 0 = Script Executed successfully Exit 1 = Script Executed unsuccessfully (there we're errors or problems)
Posted on 02-20-2015 08:44 AM
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.
Posted on 02-20-2015 08:47 AM
Thanks, Ross...thanks, Mike. It's just the reverse of what I had thought.