diff options
Diffstat (limited to 'IkiWiki')
-rw-r--r-- | IkiWiki/Wrapper.pm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/IkiWiki/Wrapper.pm b/IkiWiki/Wrapper.pm index 85d259117..2e4925a1f 100644 --- a/IkiWiki/Wrapper.pm +++ b/IkiWiki/Wrapper.pm @@ -19,6 +19,9 @@ sub gen_wrapper () { #{{{ error("cannot create a wrapper that uses a setup file"); } my $wrapper=possibly_foolish_untaint($config{wrapper}); + if (! defined $wrapper || ! length $wrapper) { + error("wrapper filename not specified"); + } delete $config{wrapper}; my @envsave; |