From: Eric Wong Date: Tue, 2 Jul 2024 23:56:49 +0000 (+0000) Subject: lei_mirror: show FS path for symlink conflicts X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3f6e53cd34860a1c72430c4f2a94463a3bbab337;p=thirdparty%2Fpublic-inbox.git lei_mirror: show FS path for symlink conflicts Seeing the URI path component is confusing the problem needs to be dealt with on the local FS. --- diff --git a/lib/PublicInbox/LeiMirror.pm b/lib/PublicInbox/LeiMirror.pm index 57b2d32be..fb0295da9 100644 --- a/lib/PublicInbox/LeiMirror.pm +++ b/lib/PublicInbox/LeiMirror.pm @@ -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; } }