fehler korrektur

This commit is contained in:
Désiré Werner Menrath 2023-10-28 23:22:34 +02:00
parent 0a82aa4128
commit 77ab628e14

12
wire_g
View File

@ -95,17 +95,17 @@ remove(){
success=$(grep -i "erfolgreich gelöscht" ${wg_wdir}.tmp.txt) success=$(grep -i "erfolgreich gelöscht" ${wg_wdir}.tmp.txt)
if [ "$?" = "0" ] if [ "$?" = "0" ]
then 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 \ yad --window-icon=${wg_pic}wg-trash.png \
--image-on-top --image=${wg_pic}wg-info.png \ --image-on-top --image=${wg_pic}wg-info.png \
--text="Ihr Tunnel $selection wurde erfolgreich gelöscht.\n" \ --text="Ihr Tunnel $selection wurde erfolgreich gelöscht.\n" \
--text-align=center --button="OK" --title "Wire-G Trash" \ --text-align=center --button="OK" --title "Wire-G Trash" \
--fixed --center --buttons-layout=center --borders=8 --center --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 fi
if [ $selection = $active ] if [ $selection = $active ]
then then