Have debug work without being root

This commit is contained in:
Kaladin Light 2017-01-27 17:46:34 -05:00
parent 5ce48cbaaf
commit dc9924f147
2 changed files with 5 additions and 3 deletions

View file

@ -244,6 +244,8 @@ chooseInterface() {
if [[ $(echo "${availableInterfaces}" | wc -l) -eq 1 ]]; then
pivpnInterface="${availableInterfaces}"
echo "${pivpnInterface}" > /tmp/pivpnINT
$SUDO cp /tmp/pivpnINT /etc/pivpn/pivpnINTERFACE
return
fi