From a6145104e262a6d4ebf7d9c08118d167803dcdf8 Mon Sep 17 00:00:00 2001 From: punix Date: Sat, 11 Nov 2023 18:19:05 +0100 Subject: [PATCH] korrektur pid 4 --- wire_g | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wire_g b/wire_g index 0a8fcff..4192ca9 100755 --- a/wire_g +++ b/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