Pipe both stdout and stderr in all pre/post hook scripts

Version 1.43.1


Previously, DA only read in stdout from all pre/post hook scripts. If you ran anything that output to stderr, it would not be read in, and would likely overflow the read buffer and might hang whatever was trying to send that text. Changed all calls to the script to have: 2>&1 at the end, so all stderr is piped to stdout for DA.

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