korrektur pid 3

This commit is contained in:
Désiré Werner Menrath 2023-11-11 18:17:00 +01:00
parent f87740eee9
commit 01b9cb58a1

4
wire_g
View File

@ -237,12 +237,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 $pid & wire_g
bg %$pid
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
bg %$pid
fi
fi