summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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];