summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/fortune.pm
diff options
context:
space:
mode:
Diffstat (limited to 'IkiWiki/Plugin/fortune.pm')
-rw-r--r--IkiWiki/Plugin/fortune.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/fortune.pm b/IkiWiki/Plugin/fortune.pm
index a3b13f687..a78a73d5f 100644
--- a/IkiWiki/Plugin/fortune.pm
+++ b/IkiWiki/Plugin/fortune.pm
@@ -15,7 +15,7 @@ sub preprocess (@) { #{{{
my $f = `fortune 2>/dev/null`;
if ($?) {
- return "[[".gettext("fortune failed")."]]";
+ error gettext("fortune failed");
}
else {
return "<pre>$f</pre>\n";