diff --git a/configs/shells/bash/macros.sh b/configs/shells/bash/macros.sh index 44957e5..bbcdbc8 100644 --- a/configs/shells/bash/macros.sh +++ b/configs/shells/bash/macros.sh @@ -167,7 +167,7 @@ wg-reload() { if [ $# != 1 ]; then echo "Usage: wg-reload " else - sudo wg syncconf $1 <(sudo wg-quick strip $1) + sudo bash -c "wg syncconf $1 <(wg-quick strip $1)" fi }