From 9057f36abd5d0e40a175c71af1353e6509609a18 Mon Sep 17 00:00:00 2001 From: kx1t Date: Thu, 30 Nov 2023 07:51:37 -0500 Subject: [PATCH] minor fix --- rootfs/etc/s6-overlay/scripts/80-tropoalert-init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rootfs/etc/s6-overlay/scripts/80-tropoalert-init b/rootfs/etc/s6-overlay/scripts/80-tropoalert-init index 73369e1..1da6b99 100755 --- a/rootfs/etc/s6-overlay/scripts/80-tropoalert-init +++ b/rootfs/etc/s6-overlay/scripts/80-tropoalert-init @@ -3,7 +3,7 @@ source /scripts/common s6wrap=(s6wrap --quiet --timestamps --prepend="$(basename "$0")" --args) -if ! chk_enabled "$TROPOALERT"; then +if ! chk_enabled "${TROPOALERT:-enabled}"; then "${s6wrap[@]}" echo "[INFO] TropoAlert is not enabled; if you want to notify when ships are received at long distance, then start container with TROPOALERT=true" else "${s6wrap[@]}" echo "[INFO] TropoAlert enabled. Checking for Tropo every ${TROPOALERT_INTERVAL:-10m}. Minimum notification distance: ${TROPO_MINDIST:-100}nm."