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