mirror of
https://github.com/km4ack/patmenu2.git
synced 2025-05-29 13:00:11 -07:00
add exits
This commit is contained in:
parent
158050b82d
commit
c1e1f46892
@ -18,7 +18,8 @@ yad --form --width=500 --text-align=center --center --title="WL2K to ARPS Object
|
|||||||
|
|
||||||
BUT=$?
|
BUT=$?
|
||||||
if [ $BUT = 1 ]; then
|
if [ $BUT = 1 ]; then
|
||||||
MAIN
|
MAIN &
|
||||||
|
exit
|
||||||
elif [ $BUT = 252 ]; then
|
elif [ $BUT = 252 ]; then
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
@ -44,7 +45,8 @@ if [ $? = 1 ]; then
|
|||||||
yad --form --width=500 --text-align=center --center --title="WL2K to ARPS Object" --text-align=center \
|
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="|" \
|
--image ${LOGO} --window-icon=${LOGO} --image-on-top --separator="|" --item-separator="|" \
|
||||||
--text="<b>FAILED</b>\rNo Nearby (WL2K_NEARBY) File Found in Inbox"
|
--text="<b>FAILED</b>\rNo Nearby (WL2K_NEARBY) File Found in Inbox"
|
||||||
MAIN
|
MAIN &
|
||||||
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
sed -i '1,17d' /run/user/$UID/tempgatelist
|
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="<b>Processing done.</b>\rA gateways.pos file has been created and\r is on your desktop ready to import into YAAC."
|
--text="<b>Processing done.</b>\rA gateways.pos file has been created and\r is on your desktop ready to import into YAAC."
|
||||||
|
|
||||||
#rm /run/user/$UID/tempgatelist
|
#rm /run/user/$UID/tempgatelist
|
||||||
|
MAIN &
|
||||||
exit
|
exit
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user