]> git.ipfire.org Git - thirdparty/public-inbox.git/commitdiff
lei_mirror: show FS path for symlink conflicts
authorEric Wong <e@80x24.org>
Tue, 2 Jul 2024 23:56:49 +0000 (23:56 +0000)
committerEric Wong <e@80x24.org>
Wed, 3 Jul 2024 04:37:49 +0000 (04:37 +0000)
Seeing the URI path component is confusing the problem needs to
be dealt with on the local FS.

lib/PublicInbox/LeiMirror.pm

index 57b2d32be50417be44e0b146a63387c99b234bda..fb0295da98e9df2664b43c73a43bbc6833289f61 100644 (file)
@@ -794,7 +794,7 @@ sub update_ent {
                                        next if readlink($ln) eq $tgt;
                                        unlink($ln);
                                } else {
-                                       push @{$self->{chg}->{badlink}}, $p;
+                                       push @{$self->{chg}->{badlink}}, $ln;
                                        next;
                                }
                        }