From e448e7d8c5950abc5e6821d21bf4089b95cf17ed Mon Sep 17 00:00:00 2001 From: kx1t <15090643+kx1t@users.noreply.github.com> Date: Mon, 30 Oct 2023 14:17:54 -0400 Subject: [PATCH] fix bug in vdlm_stats --- rootfs/etc/s6-overlay/scripts/vdlm_stats | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rootfs/etc/s6-overlay/scripts/vdlm_stats b/rootfs/etc/s6-overlay/scripts/vdlm_stats index d6fefaf..c3ae54d 100755 --- a/rootfs/etc/s6-overlay/scripts/vdlm_stats +++ b/rootfs/etc/s6-overlay/scripts/vdlm_stats @@ -26,7 +26,7 @@ while true; do fi # shellcheck disable=SC2016 - echo "$(wc -l < /run/acars/vdlm.past5min.json) VDLM messages received in last 5 mins" | stdbuf -oL awk '{print "[vdlm_stats] " strftime("%Y/%m/%d %H:%M:%S", systime()) " " $0}' + echo "$(wc -l < /run/acars/vdlm2.past5min.json) VDLM messages received in last 5 mins" | stdbuf -oL awk '{print "[vdlm_stats] " strftime("%Y/%m/%d %H:%M:%S", systime()) " " $0}' # rotate files keeping last 2 hours for i in {24..1}; do