From 32f2dded9e866b5a25461f6f3e951be9902ec93b Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Thu, 24 Aug 2023 21:36:26 -0500 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index feaac270..f0b3a7cf 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -582,7 +582,8 @@ BACKUP_OFFSITEPFSENSE(){ if [ "$(date +%u)" == "4" ]; then cp -r ${newBAKFOLDER} ${newBAKFOLDER/-D/-W} - elif [ "$(date +%d)" == "24" ]; then + fi + if [ "$(date +%d)" == "24" ]; then cp -r ${newBAKFOLDER} ${newBAKFOLDER/-D/-M} fi