From db6f258745639cac9717c831a62003140480b692 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 30 Aug 2013 22:33:11 -0400 Subject: fix new perl warning --- IkiWiki/Plugin/bzr.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IkiWiki/Plugin/bzr.pm b/IkiWiki/Plugin/bzr.pm index 99a07d2c0..e2b102dee 100644 --- a/IkiWiki/Plugin/bzr.pm +++ b/IkiWiki/Plugin/bzr.pm @@ -302,7 +302,7 @@ sub extract_timestamp (@) { open (my $out, "-|", @_); my @log = bzr_log($out); - if (length @log < 1) { + if (length(scalar(@log)) < 1) { return 0; } -- cgit v1.2.3