about summary refs log tree commit homepage
path: root/lib/PublicInbox
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2022-11-28 05:32:13 +0000
committerEric Wong <e@80x24.org>2022-11-28 23:38:58 +0000
commita38db0188e264c08e39354d8945cf1e7ac35e708 (patch)
treee41b005d76a82582dfffe6efaecf04de7174e16a /lib/PublicInbox
parent115690ef740e2130915481627f8cac6b81ff7cc2 (diff)
downloadpublic-inbox-a38db0188e264c08e39354d8945cf1e7ac35e708.tar.gz
Users may choose to specify a manifest on the initial clone,
so don't complain if it's missing in that case.
Diffstat (limited to 'lib/PublicInbox')
-rw-r--r--lib/PublicInbox/LeiMirror.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/LeiMirror.pm b/lib/PublicInbox/LeiMirror.pm
index 8cd64b65..e0a212de 100644
--- a/lib/PublicInbox/LeiMirror.pm
+++ b/lib/PublicInbox/LeiMirror.pm
@@ -826,7 +826,7 @@ sub load_current_manifest ($) {
         if (open(my $fh, '<', $fn)) {
                 decode_manifest($fh, $fn, $fn);
         } elsif ($!{ENOENT}) { # non-fatal, we can just do it slowly
-                warn "open($fn): $!\n";
+                warn "open($fn): $!\n" if -d $self->{dst};
                 undef;
         } else {
                 die "open($fn): $!\n";