From 489569d29a4ca31ebe3e9aa6ee124c06e7e210c2 Mon Sep 17 00:00:00 2001 From: kx1t Date: Sat, 8 Apr 2023 19:18:45 -0400 Subject: [PATCH] bug fix --- rootfs/etc/services.d/mlathub/run | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rootfs/etc/services.d/mlathub/run b/rootfs/etc/services.d/mlathub/run index 84d4e5c..e76a344 100644 --- a/rootfs/etc/services.d/mlathub/run +++ b/rootfs/etc/services.d/mlathub/run @@ -46,10 +46,10 @@ do if [[ -n "${params[2]}" ]] then MLATHUB_CMD+=("--net-connector=localhost,${params[2]},beast_in") - (( mlat_result_sources++ )) + (( mlat_result_sources++ )) || true fi done -if ((mlat_result_sources == 0 )) +if (( mlat_result_sources == 0 )) then echo "[$(date)][mlathub] No MLAT servers have been defined in MLAT_CONFIG - no need to start MLATHUB" sleep infinity