chiark / gitweb /
Mirroring: Tolerate missing .a file when tidying mirror
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 11 Jul 2015 16:39:43 +0000 (17:39 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 11 Jul 2015 18:31:19 +0000 (19:31 +0100)
infra/dgit-mirror-rsync

index 9afd39f..2858047 100755 (executable)
@@ -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