Subject: | wrong closing brace pos in _rmirror_endofloop_sleep |
Date: | Mon, 16 May 2011 01:36:18 +0300 |
To: | bug-File-Rsync-Mirror-Recent [...] rt.cpan.org |
From: | Mitry Matyushkov <i.mitry [...] gmail.com> |
Hello,
It looks like File/Rsync/Mirror/Recent.pm's sub _rmirror_endofloop_sleep
is useless unless $self->verbose is set.
'sleep $sleep;' statement should be out of 'if ($self->verbose) {}'
block, otherwise it is unreachable.
As a side effect of the change - log record of "Dorm %d (%s secs)\n"
will be flushed at the end of block and appeared in log file just before
sleep.
Regards,
Mitry.