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