diff --git a/bluebikes b/bluebikes index a017d34..bf5cc18 100755 --- a/bluebikes +++ b/bluebikes @@ -181,7 +181,7 @@ print_status() { id=$(printf '"%d"' $STATION_ID) ALIAS=$(cat "$ALIASES_FILE" | gojq ".$id" | tr -d '"') - if [[ ! -z "$ALIAS" ]] ; then + if [[ "$ALIAS" != "null" ]] ; then # if there is an alias STATION_NAME="$ALIAS" fi