From ab365e2ed750c63217f123103a6b2cac2a85f076 Mon Sep 17 00:00:00 2001 From: punix Date: Sat, 11 Nov 2023 19:23:52 +0100 Subject: [PATCH] korrektur test pid 8 --- wire_g | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/wire_g b/wire_g index dcf0efa..84f61f4 100755 --- a/wire_g +++ b/wire_g @@ -231,7 +231,7 @@ if selection=$(yad --no-klick --list --center \ --text=$"Activ Tunnel: $active ---------------------------------------------------------------------------------- If no tunnels are listed, -so they have to import their tunnel beforehand.") & +so they have to import their tunnel beforehand.") then if [[ -n $active ]] then @@ -240,13 +240,11 @@ if selection=$(yad --no-klick --list --center \ connect pid=$(ps aux | grep yad | grep -v grep | awk '{print $2}') kill $pid - wire_g else nmcli connection up $selection &> ${wg_wdir}.tmp.txt connect pid=$(ps aux | grep yad | grep -v grep | awk '{print $2}') kill $pid - wire_g fi fi