Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
brokenpip3 committed Jun 22, 2024
1 parent 277815d commit 9cd9d84
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion backup/pvc/bin/backup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ for ((i=0; i<RETRY_COUNT; i++)); do
_log "INFO" "Backup is already running. Waiting for ${RETRY_INTERVAL} seconds..."
sleep "${RETRY_INTERVAL}"
done
[[ -f "${TRAP_FILE}" ]] && { _log "ERROR" "Backup is stil running after waiting ${RETRY_COUNT} time ${RETRY_INTERVAL}s. Exiting."; exit 1; }
[[ -f "${TRAP_FILE}" ]] && { _log "ERROR" "Backup is still running after waiting ${RETRY_COUNT} time ${RETRY_INTERVAL}s. Exiting."; exit 1; }
# --< Done

_log "INFO" "Running backup ${BACKUP_NUMBER}"
Expand Down
2 changes: 1 addition & 1 deletion backup/pvc/bin/restore.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ for ((i=0; i<RETRY_COUNT; i++)); do
_log "INFO" "Restore is already running. Waiting for ${RETRY_INTERVAL} seconds..."
sleep "${RETRY_INTERVAL}"
done
[[ -f "${TRAP_FILE}" ]] && { _log "ERROR" "Restore is stil running after waiting ${RETRY_COUNT} time ${RETRY_INTERVAL}s. Exiting."; exit 1; }
[[ -f "${TRAP_FILE}" ]] && { _log "ERROR" "Restore is still running after waiting ${RETRY_COUNT} time ${RETRY_INTERVAL}s. Exiting."; exit 1; }
# --< Done

_log "INFO" "Running restore backup with backup number #${BACKUP_NUMBER}"
Expand Down

0 comments on commit 9cd9d84

Please sign in to comment.