mirror of
https://github.com/km4ack/patmenu2.git
synced 2025-05-21 01:00:09 -07:00
add error check
This commit is contained in:
parent
1ff0094b78
commit
bae91d1aee
@ -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="<b>FAILED</b>\rNo Nearby File Found in Inbox"
|
||||
fi
|
||||
|
||||
sed -i '1,17d' /run/user/$UID/tempgatelist
|
||||
|
||||
while read -r line; do
|
||||
|
Loading…
x
Reference in New Issue
Block a user