From 4e89053a796395ac40ffd5b4c442d5dc3edf6ea4 Mon Sep 17 00:00:00 2001 From: punix Date: Sat, 18 Nov 2023 10:48:38 +0100 Subject: [PATCH] awk durch cat ersetzt in wg_srop --- wg_stop | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wg_stop b/wg_stop index 365af1b..9570c71 100755 --- a/wg_stop +++ b/wg_stop @@ -40,5 +40,5 @@ WG_PIC="/home/$USER/.icons/" --text=$""$VALUE" Connection disconnected" fi done - IFS=$'\n' lines=( $(awk '{print $2}' ${WG_WDIR}for-kill_pid.txt) ) + IFS=$'\n' lines=( $(cat ${WG_WDIR}for-kill_pid.txt) ) kill $lines \ No newline at end of file