]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
fix new perl warning
authorJoey Hess <joey@kitenet.net>
Sat, 31 Aug 2013 02:33:11 +0000 (22:33 -0400)
committerJoey Hess <joey@kitenet.net>
Sat, 31 Aug 2013 02:33:11 +0000 (22:33 -0400)
IkiWiki/Plugin/bzr.pm

index 99a07d2c0eb2afa5512f6fc96043df6ff24171ff..e2b102dee9403014271edc26e6683eb7a1933e5a 100644 (file)
@@ -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;
        }