From 25b1af53f2d2bea1adce62b68d9a397bf9fed935 Mon Sep 17 00:00:00 2001 From: Micheal Wall Date: Mon, 29 Jun 2020 10:24:39 -0500 Subject: [PATCH] Fixed an incorrect month token argument to the date command. --- modules/ping-monitor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ping-monitor b/modules/ping-monitor index 5008918..5b89208 100644 --- a/modules/ping-monitor +++ b/modules/ping-monitor @@ -62,7 +62,7 @@ function start_ping { } function move { - local dt="$(date +%Y%d%d-%H%M%S)" + local dt="$(date +%Y%m%d-%H%M%S)" local dp="/root/ping_monitor.${dt}" if [ -f ${sp} ]; then