This commit is contained in:
Désiré Werner Menrath 2023-11-14 09:17:54 +01:00
parent b2078f9e0e
commit bb137e3ba4
2 changed files with 2 additions and 3 deletions

View File

@ -1 +0,0 @@
Fehler: weder eine gültige Verbindung noch ein Gerät angegeben.

4
wire_g
View File

@ -246,12 +246,12 @@ if selection=$(yad --no-klick --list --center \
nmcli connection up $selection &> ${wg_wdir}.tmp.txt
connect
pid=$(ps aux | grep yad | grep -v grep | awk '{print $2}')
kill -n $pid
kill "$pid"
else
nmcli connection up $selection &> ${wg_wdir}.tmp.txt
connect
pid=$(ps aux | grep yad | grep -v grep | awk '{print $2}')
kill -n $pid
kill "$pid"
fi
fi