mirror of
https://github.com/AuxXxilium/arc-c.git
synced 2024-11-23 23:11:08 +07:00
arc: rewrite cancel to exit
Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
parent
b8ae414e7c
commit
2e349afb51
@ -2804,7 +2804,7 @@ while true; do
|
|||||||
echo "0 \"Credits \" " >>"${TMP_PATH}/menu"
|
echo "0 \"Credits \" " >>"${TMP_PATH}/menu"
|
||||||
|
|
||||||
dialog --clear --default-item ${NEXT} --backtitle "$(backtitle)" --colors \
|
dialog --clear --default-item ${NEXT} --backtitle "$(backtitle)" --colors \
|
||||||
--title "Arc Menu" --menu "" 0 0 0 --file "${TMP_PATH}/menu" \
|
--cancel-label "Exit" --title "Arc Menu" --menu "" 0 0 0 --file "${TMP_PATH}/menu" \
|
||||||
2>"${TMP_PATH}/resp"
|
2>"${TMP_PATH}/resp"
|
||||||
[ $? -ne 0 ] && break
|
[ $? -ne 0 ] && break
|
||||||
case $(<"${TMP_PATH}/resp") in
|
case $(<"${TMP_PATH}/resp") in
|
||||||
|
Loading…
Reference in New Issue
Block a user