From 5bebb7ccafe1611273ac7e0ee621c9f019324e15 Mon Sep 17 00:00:00 2001 From: punix Date: Mon, 30 Oct 2023 19:10:10 +0100 Subject: [PATCH] wire_g else korrigiert wg_stop unter else gesetzt --- wire_g | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wire_g b/wire_g index a1e986f..5185c11 100755 --- a/wire_g +++ b/wire_g @@ -176,10 +176,10 @@ selection=$(yad --no-click --list \ active=$(nmcli connection show --active | grep -iPo "(.*)(wireguard)" | sed 's/ .*//') if [ -n $active ] then - wg_stop nmcli connection up $selection &> ${wg_wdir}.tmp.txt connect else + wg_stop nmcli connection up $selection &> ${wg_wdir}.tmp.txt connect fi