Lint
Some checks failed
ShellCheck / shellcheck (push) Successful in 48s
Docker / build (push) Failing after 28m4s

This commit is contained in:
Andras Schmelczer 2026-03-22 17:41:39 +00:00
parent fd581ef877
commit 31bc548fdd
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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