aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/mdwn.pm
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-08-10 03:03:34 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-08-10 03:03:34 +0000
commit119e3e209dc2be25920d89e470a1e8d7b5d98f7b (patch)
tree20c8ba44a21f012725d4d3d33094a35f88f36ccb /IkiWiki/Plugin/mdwn.pm
parentcf4c17e924bfaf3d3a4142e594ef16ef80adac68 (diff)
downloadikiwiki-119e3e209dc2be25920d89e470a1e8d7b5d98f7b.tar
ikiwiki-119e3e209dc2be25920d89e470a1e8d7b5d98f7b.tar.gz
* Display an error message if /usr/bin/markdown can't be loaded.
Diffstat (limited to 'IkiWiki/Plugin/mdwn.pm')
-rw-r--r--IkiWiki/Plugin/mdwn.pm2
1 files changed, 1 insertions, 1 deletions
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;
}