From 3b60120fa14a40319168c9d404f2544c889a5919 Mon Sep 17 00:00:00 2001 From: "Andreas J. Koenig" Date: Sat, 4 Jun 2011 13:26:44 +0200 Subject: [PATCH] improve diagnostics adding the name of the lockdirectory we are waiting for --- lib/File/Rsync/Mirror/Recent.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/File/Rsync/Mirror/Recent.pm b/lib/File/Rsync/Mirror/Recent.pm index 91989d7..2aae878 100644 --- a/lib/File/Rsync/Mirror/Recent.pm +++ b/lib/File/Rsync/Mirror/Recent.pm @@ -857,7 +857,7 @@ sub _rmirror_runstatusfile_write { my $start = time; while (not mkdir "$file.lock") { Time::HiRes::sleep 0.15; - warn "*** waiting for lock ***" if time - $start >= 3; + warn "*** waiting for lock directory '$file.lock' ***" if time - $start >= 3; } YAML::Syck::DumpFile ( -- 2.11.4.GIT