Skip to content

Commit

Permalink
add parenthesis to function syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
fradelg committed Jan 19, 2023
1 parent 47977b7 commit 1f5f594
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ elif [ -n "${INIT_RESTORE_LATEST}" ]; then
find /backup -maxdepth 1 -name '[0-9]*.*.sql.gz' | sort | tail -1 | xargs /restore.sh
fi

function final_backup {
function final_backup () {
echo "=> Captured trap for final backup"
DATE=$(date +%Y%m%d%H%M)
echo "=> Requested last backup at $(date "+%Y-%m-%d %H:%M:%S")"
Expand Down

0 comments on commit 1f5f594

Please sign in to comment.