summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/linkmap.pm
diff options
context:
space:
mode:
Diffstat (limited to 'IkiWiki/Plugin/linkmap.pm')
-rw-r--r--IkiWiki/Plugin/linkmap.pm4
1 files changed, 1 insertions, 3 deletions
diff --git a/IkiWiki/Plugin/linkmap.pm b/IkiWiki/Plugin/linkmap.pm
index 82b38f4cb..ab199b723 100644
--- a/IkiWiki/Plugin/linkmap.pm
+++ b/IkiWiki/Plugin/linkmap.pm
@@ -94,9 +94,7 @@ sub genmap ($) { #{{{
waitpid $pid, 0;
$SIG{PIPE}="DEFAULT";
- if ($sigpipe) {
- return "[[linkmap ".gettext("failed to run dot")."]]";
- }
+ error gettext("failed to run dot") if $sigpipe;
return $ret;
} #}}}