From d1ce5948a10375222f45221e5d3db9ae55061d23 Mon Sep 17 00:00:00 2001 From: kx1t Date: Wed, 22 Mar 2023 16:01:03 +0100 Subject: [PATCH] bug and linting fix --- rootfs/etc/services.d/mlathub/run | 1 + rootfs/etc/services.d/readsb/run | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/rootfs/etc/services.d/mlathub/run b/rootfs/etc/services.d/mlathub/run index 1ba2472..77c35d4 100644 --- a/rootfs/etc/services.d/mlathub/run +++ b/rootfs/etc/services.d/mlathub/run @@ -35,6 +35,7 @@ readarray -td ";" mlat_configs < <(printf '%s' "${MLAT_CONFIG// /}") mlat_result_sources=0 for instance in "${mlat_configs[@]}" do + # shellcheck disable=SC2015 [[ -z "${instance}" ]] && continue || true # put individual params into the $params array: readarray -td "," params < <(printf '%s' "${instance}") diff --git a/rootfs/etc/services.d/readsb/run b/rootfs/etc/services.d/readsb/run index 517409b..b4fd8a5 100644 --- a/rootfs/etc/services.d/readsb/run +++ b/rootfs/etc/services.d/readsb/run @@ -111,7 +111,7 @@ fi ##### NETWORK OPTIONS ##### # -READSB_CMD+=("--net-api-port=${READSB_NET_API_PORT:-30152") +READSB_CMD+=("--net-api-port=${READSB_NET_API_PORT:-30152}") # Handle "--net-beast-reduce-interval=" if [[ -n "$READSB_NET_BEAST_REDUCE_INTERVAL" ]]; then