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