From cc6a4260766efadf63414b99d4f8eb4946016f08 Mon Sep 17 00:00:00 2001 From: Evan Pratten Date: Mon, 22 Apr 2024 09:52:04 -0400 Subject: [PATCH] Attempt to fix wg-reload issue --- configs/shells/bash/macros.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }