diff options
author | jrayhawk+piny.be@omgwallhack.org <jrayhawk@dev.piny.svcs.cs.pdx.edu> | 2011-01-18 04:00:57 -0800 |
---|---|---|
committer | jrayhawk+piny.be@omgwallhack.org <jrayhawk@dev.piny.svcs.cs.pdx.edu> | 2011-01-18 04:00:57 -0800 |
commit | d2ab0334d3239a2e67e80452918d93a3b7f212fb (patch) | |
tree | 1ebf790b6746b7ff6d0a533bc5099dbac66983cf | |
parent | 1ffc13dde6d1bf1410905956e6d14f52e440fbbf (diff) | |
download | piny-code-d2ab0334d3239a2e67e80452918d93a3b7f212fb.tar.gz piny-code-d2ab0334d3239a2e67e80452918d93a3b7f212fb.zip |
Die in the event that the setup overrides file is broken
-rw-r--r-- | libpiny/lib/Piny/Repo.pm | 2 |
1 files changed, 1 insertions, 1 deletions
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 ); |