X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;ds=sidebyside;f=infra%2Fdgit-mirror-rsync;fp=infra%2Fdgit-mirror-rsync;h=2858047b57f85307085c1df13f0448d69e29473e;hb=86a8ff1a0f02829b07bf7cd2fdd198ce612b37d4;hp=9afd39f1659c62de4114dd84dd9f6ae4a3fdcca7;hpb=37bf4bc96cb4d67b9e22177e77c6d99283354e66;p=dgit.git diff --git a/infra/dgit-mirror-rsync b/infra/dgit-mirror-rsync index 9afd39f1..2858047b 100755 --- a/infra/dgit-mirror-rsync +++ b/infra/dgit-mirror-rsync @@ -107,7 +107,7 @@ lock-and-process () { attempt () { exec >"$queue/$package.err" 2>&1 if actually; then - rm "$queue/$package.a" + rm -f "$queue/$package.a" mv -f "$queue/$package.err" "$queue/$package.log" rm "$queue/$package.lock" else