pid test 10
This commit is contained in:
parent
83e9ce1df3
commit
1c3be67954
2
wire_g
2
wire_g
@ -247,11 +247,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