pid korrektur
This commit is contained in:
parent
f3b1a9962a
commit
45d4c678a7
2
wire_g
2
wire_g
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user