From 3f6e53cd34860a1c72430c4f2a94463a3bbab337 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Tue, 2 Jul 2024 23:56:49 +0000 Subject: [PATCH] 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. --- lib/PublicInbox/LeiMirror.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } } -- 2.47.3