mirror of
https://github.com/pivpn/pivpn.git
synced 2025-04-24 08:10:10 +00:00
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:
parent
8b69904b69
commit
7f1c5ba33c
3 changed files with 12 additions and 8 deletions
|
@ -26,7 +26,12 @@ listConnected(){
|
|||
}
|
||||
|
||||
debug(){
|
||||
$SUDO ${scriptdir}/${vpn}/pivpnDEBUG.sh
|
||||
echo "::: Generating Debug Output"
|
||||
$SUDO ${scriptdir}/${vpn}/pivpnDEBUG.sh | tee /tmp/debug.log
|
||||
echo "::: "
|
||||
echo "::: Debug output completed above."
|
||||
echo "::: Copy saved to /tmp/debug.log"
|
||||
echo "::: "
|
||||
exit 0
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue