pid korrektur

This commit is contained in:
Désiré Werner Menrath 2023-11-11 18:02:09 +01:00
parent f3b1a9962a
commit 45d4c678a7

2
wire_g
View File

@ -238,11 +238,13 @@ 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