How to ensure that the post-change action has been successful when the Text File
policy was enforced
32
Novell ZENworks 7.2 Linux Management Troubleshooting Guide
2 If the exit code is 0, it indicates that the rollback was done successfully.
Check to see if there is another Text File policy that modifies the same
file.
3 If the exit code is -1, it indicates that the rollback operation was not done
because the file was not modified. Check to see if there is another Text
File policy that modifies the same file.
Source: ZENworks Linux Management; Policy Handlers; Text File Policy
Action: Verify the value of the post-change action exit code in the message that was
logged after policy was enforced. This value is the exit code, which was
returned by the program or script launched in the post-change action.