Ability to hide "Script Output /path/to/script.sh" for custom scripts

Version 1.521


If you have custom scripts in: /usr/local/directadmin/scritps/custom/*.sh on non-zero result, they'll usually display: Script Output: /usr/local/directadmin/scripts/custom/script_name.sh before echoing your echo'ed data. This is typically done to avoid confusion as to what's throwing the error. But if you're fully aware of it, and are *sure* you're echoing data on non-zero output, then you should be able to use this. The internal default is: show_custom_script_path=1 so to hide the "Script Output" line, you'd add this to your directadmin.conf, and restart directadmin: show_custom_script_path=0

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