Fixed an incorrect month token argument to the date command.

pull/38/head
Micheal Wall 2020-06-29 10:24:39 -05:00
parent ef4486f919
commit 25b1af53f2
1 changed files with 1 additions and 1 deletions

View File

@ -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