We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f4a33b commit 81c9b50Copy full SHA for 81c9b50
docker-backup.sh
@@ -537,7 +537,7 @@ main() {
537
for container in "${containers_to_backup[@]}"; do
538
log_info "正在处理容器 $((success_count + 1))/$total_count: $container"
539
if backup_container "${container}"; then
540
- ((success_count++))
+ success_count=$((success_count + 1))
541
log_info "容器 '$container' 备份成功 ($success_count/$total_count)"
542
else
543
log_error "备份容器 '${container}' 失败"
0 commit comments