From a6f077fae2f3d4d30124a74623e63e484df404a4 Mon Sep 17 00:00:00 2001 From: kx1t Date: Sun, 9 Apr 2023 18:32:58 -0400 Subject: [PATCH] fix unquoted date format bug --- rootfs/etc/services.d/mlathub/run | 2 +- rootfs/etc/services.d/readsb/run | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rootfs/etc/services.d/mlathub/run b/rootfs/etc/services.d/mlathub/run index 73e97ac..871ff94 100644 --- a/rootfs/etc/services.d/mlathub/run +++ b/rootfs/etc/services.d/mlathub/run @@ -122,5 +122,5 @@ elif [[ "${LOGLEVEL,,}" == "none" ]]; then "${MLATHUB_BIN}" "${MLATHUB_CMD[@]}" $MLATHUB_EXTRA_ARGS >/dev/null 2>/dev/null fi -echo "[$(date +%Y-%m-%d %H:%M:%S)][mlathub] The mlathub instance has exited. Restarting in 10 seconds." +echo "[$(date "+%Y-%m-%d %H:%M:%S")][mlathub] The mlathub instance has exited. Restarting in 10 seconds." sleep 10 \ No newline at end of file diff --git a/rootfs/etc/services.d/readsb/run b/rootfs/etc/services.d/readsb/run index bf096b1..cd71533 100644 --- a/rootfs/etc/services.d/readsb/run +++ b/rootfs/etc/services.d/readsb/run @@ -320,7 +320,7 @@ elif [[ "${LOGLEVEL,,}" == "none" ]]; then "${READSB_BIN}" "${READSB_CMD[@]}" $READSB_EXTRA_ARGS >/dev/null 2>/dev/null fi -echo "[$(date +%Y-%m-%d %H:%M:%S)][readsb] The main readsb instance has exited. Restarting in 10 seconds." +echo "[$(date "+%Y-%m-%d %H:%M:%S")][readsb] The main readsb instance has exited. Restarting in 10 seconds." sleep 10