korrektur pid 4
This commit is contained in:
parent
01b9cb58a1
commit
a6145104e2
4
wire_g
4
wire_g
@ -236,12 +236,12 @@ if selection=$(yad --no-klick --list --center \
|
||||
wg_stop
|
||||
nmcli connection up $selection &> ${wg_wdir}.tmp.txt
|
||||
connect
|
||||
pid=$(ps aux | grep yad | grep -v grep | awk '{print $2}')
|
||||
export pid=$(ps aux | grep yad | grep -v grep | awk '{print $2}')
|
||||
bg %$pid
|
||||
else
|
||||
nmcli connection up $selection &> ${wg_wdir}.tmp.txt
|
||||
connect
|
||||
pid=$(ps aux | grep yad | grep -v grep | awk '{print $2}')
|
||||
export pid=$(ps aux | grep yad | grep -v grep | awk '{print $2}')
|
||||
bg %$pid
|
||||
fi
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user