Lint
This commit is contained in:
parent
fd581ef877
commit
31bc548fdd
2 changed files with 2 additions and 2 deletions
|
|
@ -20,7 +20,7 @@ configure_environment() {
|
|||
for var in BORG_PASSPHRASE BORG_REPO; do
|
||||
local indexed_var_name="${var}_${index}"
|
||||
if [[ -n "${!indexed_var_name}" ]]; then
|
||||
export $var="${!indexed_var_name}"
|
||||
export "$var"="${!indexed_var_name}"
|
||||
else
|
||||
all_vars_set=false
|
||||
break
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ echo "Starting schedule script at $(date)" | log_message
|
|||
date > /health/container_start_time.log
|
||||
|
||||
while true; do
|
||||
exec /src/backup-wrapper.sh 2>&1 | log_message
|
||||
/src/backup-wrapper.sh 2>&1 | log_message
|
||||
echo "Sleeping for $SLEEP_TIME" | log_message
|
||||
|
||||
# Using a simple sleep loop to schedule backups instead of cron to avoid concurrency issues
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue