From 1a574d4e365b07571dbe911801e98181f0c5b1f1 Mon Sep 17 00:00:00 2001 From: kx1t Date: Tue, 18 Apr 2023 20:37:52 -0400 Subject: [PATCH] linting fix --- rootfs/etc/services.d/readsb/run | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rootfs/etc/services.d/readsb/run b/rootfs/etc/services.d/readsb/run index cc94909..5016251 100644 --- a/rootfs/etc/services.d/readsb/run +++ b/rootfs/etc/services.d/readsb/run @@ -1,5 +1,5 @@ #!/usr/bin/with-contenv bash -# shellcheck shell=bash disable=SC2016,SC1091 +# shellcheck shell=bash disable=SC2015,SC2016,SC1091 APPNAME="readsb" @@ -182,7 +182,7 @@ if [[ -n "$READSB_NET_CONNECTOR" ]]; then fi # Handle ULTRAFEEDER_CONFIG / ULTRAFEEDER_NET_CONNECTOR elements relevant to readsb: -[[ "${#READSB_CONF_ARR[@]}" > 0 ]] && READSB_CMD+=("${READSB_CONF_ARR[@]}") || true +[[ "${#READSB_CONF_ARR[@]}" -gt 0 ]] && READSB_CMD+=("${READSB_CONF_ARR[@]}") || true # Handle "--net-connector-delay=" if [[ -n "$READSB_NET_CONNECTOR_DELAY" ]]; then