Double SUDO
This commit is contained in:
parent
928d51864f
commit
7257d3378d
@ -165,7 +165,7 @@ wg-reload() {
|
|||||||
if [ $# != 1 ]; then
|
if [ $# != 1 ]; then
|
||||||
echo "Usage: wg-reload <interface>"
|
echo "Usage: wg-reload <interface>"
|
||||||
else
|
else
|
||||||
sudo wg syncconf $1 <(wg-quick strip $1)
|
sudo wg syncconf $1 <(sudo wg-quick strip $1)
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user