borg-backup.sh: clean upo from whitespaces; remove development code.

This commit is contained in:
Christoph 2024-07-02 23:03:21 +02:00
parent db2423ac43
commit 4aec86ab41

View File

@ -22,6 +22,7 @@ currentDateReadable=$(date --date @"$startTime" +"%d.%m.%Y - %H:%M:%S")
clean_up() {
# Perform program exit housekeeping
rm -f ${DB_BACKUP_DIR}/*-${backup_date}.sql
rm -rf "$LOCK_DIR"
blank_line
exit $1
@ -519,7 +520,6 @@ EOF
done
fi
clean_up 0
echononl "Create borg backup.."