mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-21 14:11:06 +02:00
add debug
This commit is contained in:
@@ -115,11 +115,10 @@ CHOICES=$(dialog \
|
|||||||
"${OPTIONS[@]}" 2>&1 >/dev/tty)
|
"${OPTIONS[@]}" 2>&1 >/dev/tty)
|
||||||
|
|
||||||
dialogcancel=$?
|
dialogcancel=$?
|
||||||
echo "done dialog (${CHOICE_HEIGHT})"
|
|
||||||
clear
|
clear
|
||||||
|
|
||||||
# check if user canceled dialog
|
# check if user canceled dialog
|
||||||
echo "dialogcancel(${dialogcancel})"
|
echo "dialogcancel(${dialogcancel}) (${CHOICE_HEIGHT})"
|
||||||
if [ ${dialogcancel} -eq 1 ]; then
|
if [ ${dialogcancel} -eq 1 ]; then
|
||||||
echo "user canceled"
|
echo "user canceled"
|
||||||
exit 0
|
exit 0
|
||||||
|
Reference in New Issue
Block a user