From 119e3e209dc2be25920d89e470a1e8d7b5d98f7b Mon Sep 17 00:00:00 2001 From: joey Date: Thu, 10 Aug 2006 03:03:34 +0000 Subject: * Display an error message if /usr/bin/markdown can't be loaded. --- IkiWiki/Plugin/mdwn.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'IkiWiki/Plugin') diff --git a/IkiWiki/Plugin/mdwn.pm b/IkiWiki/Plugin/mdwn.pm index a344de067..c1f978ad3 100644 --- a/IkiWiki/Plugin/mdwn.pm +++ b/IkiWiki/Plugin/mdwn.pm @@ -19,7 +19,7 @@ sub htmlize ($) { #{{{ no warnings 'once'; $blosxom::version="is a proper perl module too much to ask?"; use warnings 'all'; - do "/usr/bin/markdown"; + do "/usr/bin/markdown" || IkiWiki::error("failed to load /usr/bin/markdown: $!"); require Encode; } -- cgit v1.2.3