output from domain_destory_post.sh and user_destroy_post.sh to be displayed

Version 1.453


Regardless of the exit value for the domain_destroy_post.sh and user_destroy_post.sh, it's output would have only been shown if there were some other errors which happened before the script was called. This change it to display any output from the script, regardless of it's exit code (it's exit code isn't checked anyway, as there is no point since everything is already completed) Although, if a non-zero value is output, the string "Script Output" is used before your text.. but a 0 value will only output your text. A side-effect may be that if other non-critical warnings were added in the class, they may be displayed as well, when they previous were not. I've not yet hit any of those messages.

Interested to try DirectAdmin? Get a 30-day Free Trial!