From 31ae9e3a99c32c0329f87bd6ff738a4281c68be0 Mon Sep 17 00:00:00 2001 From: kx1t Date: Fri, 13 Oct 2023 08:40:38 -0400 Subject: [PATCH] fix logging --- rootfs/etc/s6-overlay/scripts/adsbx-stats | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rootfs/etc/s6-overlay/scripts/adsbx-stats b/rootfs/etc/s6-overlay/scripts/adsbx-stats index 3378afc..b96231b 100755 --- a/rootfs/etc/s6-overlay/scripts/adsbx-stats +++ b/rootfs/etc/s6-overlay/scripts/adsbx-stats @@ -37,7 +37,7 @@ mkdir -p /run/adsbexchange-stats # wait until readsb is established... if ! pgrep readsb >/dev/null; then if [[ -z "${LOGLEVEL}" ]] || [[ "${LOGLEVEL,,}" == "verbose" ]]; then - "${s6wrap[@]}" --args echo "Delaying start of the AdsbExchange Stats module until container is established..." + "${s6wrap[@]}" echo "Delaying start of the AdsbExchange Stats module until container is established..." fi while ! pgrep readsb >/dev/null do @@ -47,6 +47,6 @@ if ! pgrep readsb >/dev/null; then sleep 2 & wait $! fi -"${s6wrap[@]}" --args echo "invoking: /usr/local/bin/json-status" +"${s6wrap[@]}" echo "invoking: /usr/local/bin/json-status" "${s6wrap[@]}" /usr/local/bin/json-status \ No newline at end of file