Closed headmin closed 5 years ago
Perhaps it would be better to put this error handling in the original function so it covers all script execution?
https://github.com/salopensource/sal-scripts/blob/master/payload/usr/local/sal/utils.py#L232-L241
sure go for it
Looks like @grahamgilbert merged his solution already, so I'll go ahead and close this. Thanks for the submission @headmin!
original source for the PR
https://github.com/zentralopensource/zentral/blob/aa470e4a72c65c55685612409c49c740a97970f1/zentral/contrib/munki/osx_package/build.tmpl/root/usr/local/zentral/munki/preflight
https://github.com/zentralopensource/zentral/blob/aa470e4a72c65c55685612409c49c740a97970f1/zentral/contrib/munki/osx_package/build.tmpl/root/usr/local/zentral/munki/postflight