From 77ab628e14be0a2b04a5ecd60c0a6af3079973ed Mon Sep 17 00:00:00 2001 From: punix Date: Sat, 28 Oct 2023 23:22:34 +0200 Subject: [PATCH] fehler korrektur --- wire_g | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/wire_g b/wire_g index 5837672..8947ac2 100755 --- a/wire_g +++ b/wire_g @@ -95,17 +95,17 @@ remove(){ success=$(grep -i "erfolgreich gelöscht" ${wg_wdir}.tmp.txt) if [ "$?" = "0" ] then - yad --window-icon=${wg_pic}wg-trash.png \ - --image-on-top --image=${wg_pic}wg-info.png \ - --text="Oh etwas ging schief.\nBitte Tunnel im Networkmanager löschen." \ - --text-align=center --button="OK" --title "Wire-G Trash" \ - --fixed --center --buttons-layout=center --borders=8 --center - else yad --window-icon=${wg_pic}wg-trash.png \ --image-on-top --image=${wg_pic}wg-info.png \ --text="Ihr Tunnel $selection wurde erfolgreich gelöscht.\n" \ --text-align=center --button="OK" --title "Wire-G Trash" \ --fixed --center --buttons-layout=center --borders=8 --center + else + yad --window-icon=${wg_pic}wg-trash.png \ + --image-on-top --image=${wg_pic}wg-info.png \ + --text="Oh etwas ging schief.\nBitte Tunnel im Networkmanager löschen." \ + --text-align=center --button="OK" --title "Wire-G Trash" \ + --fixed --center --buttons-layout=center --borders=8 --center fi if [ $selection = $active ] then