Stop stuffing routine messages into the server

This commit is contained in:
Salt 2020-10-12 22:00:51 -05:00
parent 779c177447
commit e252d5addd

View File

@ -41,10 +41,8 @@ find "$OUTDIR" -type f -mtime +1 -iname "backup-*.tar.gz" -delete
# WE MAKE BACKUP NOW SERGEI
if cd "$OUTDIR"; then
log "Initiating world backup"
stuff "Initiating world backup"
tar czhf "$OUTDIR/backup-$(date -Iseconds).tar.gz" "$MCDIR"/world*
log "World backup complete"
stuff "World backup complete"
else
log "Could not change directory: $OUTDIR"
stuff "World backup failed: see log for details"