From 5378a1d4fb59aa926f32ffab1759921088c8784c Mon Sep 17 00:00:00 2001 From: jmqm Date: Tue, 13 Jul 2021 22:35:37 -0500 Subject: [PATCH] Fix echo MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Backup script `echo`ed that it added script as a `delete` script 🤦‍♂️. Fixed! --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 480591b..963c305 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -15,7 +15,7 @@ fi if [ "$(id -u)" -eq 0 ] && [ "$(grep -c "$BACKUP_CMD" "$CRONFILE")" -eq 0 ]; then # Add backup script to cron jobs. echo "$CRON_TIME $BACKUP_CMD >> $LOGS_FILE 2>&1" | crontab - - echo "[INFO] Added delete script to cron jobs." + echo "[INFO] Added backup script to cron jobs." # Check if $DELETE_AFTER is not null and is greater than 0. # If so, add it to cron jobs.