From 0802fbc2fa972188043fd845cab2d593c0d7c1d1 Mon Sep 17 00:00:00 2001 From: punix Date: Tue, 14 Nov 2023 12:35:34 +0100 Subject: [PATCH] fix 4 remove --- wire_g | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/wire_g b/wire_g index ae326ca..4b5c3d7 100755 --- a/wire_g +++ b/wire_g @@ -246,7 +246,7 @@ if selection=$(yad --no-klick --list --center \ nmcli connection up $selection &> ${wg_wdir}.tmp.txt connect fi -fi + ret=$? [[ $? -eq 1 ]] && exit 0 @@ -256,12 +256,10 @@ if [[ $ret -eq 4 ]] remove fi -if [[ $ret -eq 5 ]] - then - about fi + ############################################ END ##########################################################