Skip to content

Commit

Permalink
Merge pull request #600 from RensHijdra/heywhatsthat-exitcode
Browse files Browse the repository at this point in the history
Fix HeyWhatThat rangering setup
  • Loading branch information
jprochazka committed Aug 13, 2024
2 parents 0c3e238 + 82629cd commit 8f31b05
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bash/decoders/dump1090-fa.sh
Original file line number Diff line number Diff line change
Expand Up @@ -286,13 +286,13 @@ if [[ ! -f "/usr/share/dump1090-fa/html/upintheair.json" ]]; then
--inputbox "Please enter your Heywhatsthat panorama ID." \
8 78 3>&1 1>&2 2>&3)
whiptail_exit_status=$?
if [[ $whiptail_exit_status == 0 ]]; then
if [[ $whiptail_exit_status != 0 ]]; then
log_alert_message "Setup of heywhatsthat maximum range rings was cancelled"
break
fi
heywhatsthat_panorama_id_title="Enter the Heywhatsthat Panorama ID [REQUIRED]"
done
if [[ $whiptail_exit_status != 0 ]]; then
if [[ $whiptail_exit_status == 0 ]]; then
log_message "Asking the user what the altitude is for the first ring"
heywhatsthat_ring_one_altitude_title="First heywhatsthat Ring Altitude"
while [[ -z $heywhatsthat_ring_one_altitude ]] ; do
Expand Down

0 comments on commit 8f31b05

Please sign in to comment.