From d2ab0334d3239a2e67e80452918d93a3b7f212fb Mon Sep 17 00:00:00 2001 From: "jrayhawk+piny.be@omgwallhack.org" Date: Tue, 18 Jan 2011 04:00:57 -0800 Subject: Die in the event that the setup overrides file is broken --- libpiny/lib/Piny/Repo.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libpiny/lib/Piny') diff --git a/libpiny/lib/Piny/Repo.pm b/libpiny/lib/Piny/Repo.pm index 98bcdb7..a80a997 100644 --- a/libpiny/lib/Piny/Repo.pm +++ b/libpiny/lib/Piny/Repo.pm @@ -552,7 +552,7 @@ sub _build_ikiwiki_setup { no strict 'vars'; do "/etc/ikiwiki/piny/" . $s->name . ".setup.pl"; }; - if ( not $@ ) { $config = $TEMP::conf; } else { warn "Error loading /etc/ikiwiki/piny/" . $s->name . ".setup.pl: $@\n" }; + if ( not $@ ) { $config = $TEMP::conf; } else { die "Error loading /etc/ikiwiki/piny/" . $s->name . ".setup.pl: $@\n" }; }; return writeSetup( $package, $config ); -- cgit v1.2.3