Attempt to fix wg-reload issue
This commit is contained in:
parent
3195fa7f1a
commit
cc6a426076
@ -167,7 +167,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 <(sudo wg-quick strip $1)
|
sudo bash -c "wg syncconf $1 <(wg-quick strip $1)"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user