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 # WE MAKE BACKUP NOW SERGEI
if cd "$OUTDIR"; then if cd "$OUTDIR"; then
log "Initiating world backup" log "Initiating world backup"
stuff "Initiating world backup"
tar czhf "$OUTDIR/backup-$(date -Iseconds).tar.gz" "$MCDIR"/world* tar czhf "$OUTDIR/backup-$(date -Iseconds).tar.gz" "$MCDIR"/world*
log "World backup complete" log "World backup complete"
stuff "World backup complete"
else else
log "Could not change directory: $OUTDIR" log "Could not change directory: $OUTDIR"
stuff "World backup failed: see log for details" stuff "World backup failed: see log for details"