Save debug to /tmp/debug.log for WireGuard too, do not use temporary file to redact IPs in the OpenVPN log.

This commit is contained in:
Orazio 2020-10-27 12:19:46 +01:00
parent 8b69904b69
commit 7f1c5ba33c
3 changed files with 12 additions and 8 deletions

View file

@ -32,10 +32,10 @@ function listOVPNFunc {
function debugFunc {
echo "::: Generating Debug Output"
$SUDO ${scriptDir}/${vpn}/pivpnDebug.sh | tee /tmp/debug.txt
$SUDO ${scriptDir}/${vpn}/pivpnDebug.sh | tee /tmp/debug.log
echo "::: "
echo "::: Debug output completed above."
echo "::: Copy saved to /tmp/debug.txt"
echo "::: Copy saved to /tmp/debug.log"
echo "::: "
exit 0
}