Fixed an incorrect month token argument to the date command.
parent
ef4486f919
commit
25b1af53f2
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue