From bae91d1aee21427c3f3fab3b8ab454bab5f94266 Mon Sep 17 00:00:00 2001 From: KM4ACK Date: Mon, 1 Aug 2022 17:00:46 -0500 Subject: [PATCH] add error check --- convert_to_aprs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/convert_to_aprs b/convert_to_aprs index ef90abc..f233e65 100755 --- a/convert_to_aprs +++ b/convert_to_aprs @@ -36,6 +36,13 @@ do done cp $FILE /run/user/$UID/tempgatelist + +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 File Found in Inbox" +fi + sed -i '1,17d' /run/user/$UID/tempgatelist while read -r line; do