Closed ghost closed 3 years ago
Nevermind, I see this is categorized as a known non-issue. Though for those of us who do not wish to receive an email for successful executes, it is an issue. I would and have manually changed this as a workaround, but continuing to do so would mean foregoing the recent addition of the self-update, which is a shame. Therefore, I would suggest adding this as a configurable option.
I could make it an option to disable positive reporting of a successful update. You do not want to be notified if an update takes place?
When setting the scheduled task to only report on error, the script still reports on success, because of the non-zero exit status when the script finishes without error. This change fixes that by changing the exit status on successful execution to 0.