aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--IkiWiki/Setup.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/IkiWiki/Setup.pm b/IkiWiki/Setup.pm
index 6ee112096..8a25ecc57 100644
--- a/IkiWiki/Setup.pm
+++ b/IkiWiki/Setup.pm
@@ -20,8 +20,9 @@ sub load ($) {
my $code;
{
local $/=undef;
- $code=<IN>;
+ $code=<IN> || error("$setup: $!");
}
+
($code)=$code=~/(.*)/s;
close IN;