Compare commits

..

1 commit

Author SHA1 Message Date
ZoopaMario 166a947497 Refactor code to make linter runs succeed
All checks were successful
Check Commit Messages / check-commit-message (pull_request) Successful in 15s
Lint Bash Scripts / lint-bash (pull_request) Successful in 25s
This commit refactors the codebase in order to make the shellcheck
workflow pass.
2024-12-29 15:45:27 +01:00

View file

@ -12,7 +12,7 @@ SOURCE_DIR="/volumes/portainer"
# Stop portainer container
log "Stopping portainer container..."
docker stop $APP_CONTAINER || { log "Error: Failed to stop portainer."; exit 1; }
docker stop "$APP_CONTAINER" || { log "Error: Failed to stop portainer."; exit 1; }
# Backup all files to target destination
log "Backing up portainer files (including the SQLite database)..."