From c0d2738631f4dc307a460ad63fa9b8c64c9c8fae Mon Sep 17 00:00:00 2001 From: romeo-golf Date: Fri, 17 Feb 2017 14:07:10 +0000 Subject: [PATCH] Dump1090-mutability - Remove stray whitespace from LAT/LON dialogs --- bash/decoders/dump1090-mutability.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bash/decoders/dump1090-mutability.sh b/bash/decoders/dump1090-mutability.sh index 0a04df3..188c92a 100755 --- a/bash/decoders/dump1090-mutability.sh +++ b/bash/decoders/dump1090-mutability.sh @@ -151,13 +151,13 @@ whiptail --backtitle "$ADSB_PROJECTTITLE" --title "Receiver Latitude and Longitu RECEIVERLATITUDE_TITLE="Receiver Latitude" while [[ -z $RECEIVERLATITUDE ]]; do RECEIVERLATITUDE=`GetConfig "LAT" "/etc/default/dump1090-mutability"` - RECEIVERLATITUDE=$(whiptail --backtitle "$ADSB_PROJECTTITLE" --title "$RECEIVERLATITUDE_TITLE" --nocancel --inputbox "\nEnter your receiver's latitude.\n(Example: XX.XXXXXXX)" 9 78 " $RECEIVERLATITUDE" 3>&1 1>&2 2>&3) + RECEIVERLATITUDE=$(whiptail --backtitle "$ADSB_PROJECTTITLE" --title "$RECEIVERLATITUDE_TITLE" --nocancel --inputbox "\nEnter your receiver's latitude.\n(Example: XX.XXXXXXX)" 9 78 "$RECEIVERLATITUDE" 3>&1 1>&2 2>&3) RECEIVERLATITUDE_TITLE="Receiver Latitude (REQUIRED)" done RECEIVERLONGITUDE_TITLE="Receiver Longitude" while [[ -z $RECEIVERLONGITUDE ]]; do RECEIVERLONGITUDE=`GetConfig "LON" "/etc/default/dump1090-mutability"` - RECEIVERLONGITUDE=$(whiptail --backtitle "$ADSB_PROJECTTITLE" --title "$RECEIVERLONGITUDE_TITLE" --nocancel --inputbox "\nEnter your receeiver's longitude.\n(Example: XX.XXXXXXX)" 9 78 " $RECEIVERLONGITUDE" 3>&1 1>&2 2>&3) + RECEIVERLONGITUDE=$(whiptail --backtitle "$ADSB_PROJECTTITLE" --title "$RECEIVERLONGITUDE_TITLE" --nocancel --inputbox "\nEnter your receeiver's longitude.\n(Example: XX.XXXXXXX)" 9 78 "$RECEIVERLONGITUDE" 3>&1 1>&2 2>&3) RECEIVERLONGITUDE_TITLE="Receiver Longitude (REQUIRED)" done