summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-03-23 21:55:36 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-03-23 21:55:36 +0000
commit4a4c8680b19029db1942bbb24473ea99227746a6 (patch)
tree34a339cf7125b4b32f448e6f6146dbe42025260c
parent4f93b8e2b44a3d9e5455d3f369f6cad929faf899 (diff)
skip old format index file lines for now
-rwxr-xr-xikiwiki2
1 files changed, 2 insertions, 0 deletions
diff --git a/ikiwiki b/ikiwiki
index 87414ab5b..bd905a426 100755
--- a/ikiwiki
+++ b/ikiwiki
@@ -324,6 +324,8 @@ sub loadindex () { #{{{
push @{$items{$item}}, $val;
}
+ next unless exists $items{src}; # skip bad lines for now
+
my $page=pagename($items{src}[0]);
if (! $config{rebuild}) {
$pagesources{$page}=$items{src}[0];