From 6e45dd6f99fb3896590d9e1895ac79c04bb93c1b Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Sun, 26 Dec 2021 01:14:46 -0600 Subject: [PATCH] Use a correct date string +%s --- Scripts/7D2D-Manage.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Scripts/7D2D-Manage.bash b/Scripts/7D2D-Manage.bash index ea09ca4..84ec360 100644 --- a/Scripts/7D2D-Manage.bash +++ b/Scripts/7D2D-Manage.bash @@ -463,7 +463,7 @@ backup_configs() { local config_backup_directory server_directory="${1}" - config_backup_directory="${server_directory}/config-backups/$(date +s)" + config_backup_directory="${server_directory}/config-backups/$(date +%s)/" log "info" "Backing up $(important ".xml configurations") in $(important "${server_directory}") to $(important "${config_backup_directory}")" mkdir -p "${config_backup_directory}"