From 6c2c07cc856966e267ff13fc9c8a72a96f356233 Mon Sep 17 00:00:00 2001 From: Emir Ercan Ayar Date: Sat, 23 Jan 2021 15:47:56 +0100 Subject: [PATCH] workaround to append user info to tmp file --- scripts/bash/wg.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/bash/wg.sh b/scripts/bash/wg.sh index 985ac4b..d46e7f4 100755 --- a/scripts/bash/wg.sh +++ b/scripts/bash/wg.sh @@ -89,6 +89,10 @@ add_user() { echo "wg set failed" rm -rf $user exit 1 + else + cat >> $SAVED_FILE <