remove WRAPPED_OPTIONS once loaded

This makes reentrant ikiwiki calls from wrappers work.
master
Joey Hess 2008-08-05 20:11:32 -04:00
parent 83888b75f1
commit 9802fbee40
1 changed files with 1 additions and 0 deletions

View File

@ -105,6 +105,7 @@ sub getconfig () { #{{{
if ($@) {
error("WRAPPED_OPTIONS: $@");
}
delete $ENV{WRAPPED_OPTIONS};
loadplugins();
checkconfig();
}