diff --git a/convert_to_aprs b/convert_to_aprs index 8fe131a..195c285 100755 --- a/convert_to_aprs +++ b/convert_to_aprs @@ -18,7 +18,8 @@ yad --form --width=500 --text-align=center --center --title="WL2K to ARPS Object BUT=$? if [ $BUT = 1 ]; then -MAIN +MAIN & +exit elif [ $BUT = 252 ]; then exit fi @@ -44,7 +45,8 @@ if [ $? = 1 ]; then yad --form --width=500 --text-align=center --center --title="WL2K to ARPS Object" --text-align=center \ --image ${LOGO} --window-icon=${LOGO} --image-on-top --separator="|" --item-separator="|" \ --text="FAILED\rNo Nearby (WL2K_NEARBY) File Found in Inbox" -MAIN +MAIN & +exit fi sed -i '1,17d' /run/user/$UID/tempgatelist @@ -66,6 +68,7 @@ yad --form --width=500 --text-align=center --center --title="WL2K to ARPS Object --text="Processing done.\rA gateways.pos file has been created and\r is on your desktop ready to import into YAAC." #rm /run/user/$UID/tempgatelist +MAIN & exit