aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki
diff options
context:
space:
mode:
authorAmitai Schleier <schmonz-web-ikiwiki@schmonz.com>2018-04-23 22:28:49 -0400
committerAmitai Schleier <schmonz-web-ikiwiki@schmonz.com>2018-04-23 22:28:49 -0400
commitab9cb284149d51ef8c0be44893be3ecdf955a939 (patch)
treec1c42b41004b3d91feae0e908b30f997adb6ac07 /IkiWiki
parent15130f6cb058e3f284664811e84ec9b3f3ae6604 (diff)
downloadikiwiki-ab9cb284149d51ef8c0be44893be3ecdf955a939.tar
ikiwiki-ab9cb284149d51ef8c0be44893be3ecdf955a939.tar.gz
Call srcfile() with nothrow, as clearly intended.
Diffstat (limited to 'IkiWiki')
-rw-r--r--IkiWiki/Plugin/osm.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/osm.pm b/IkiWiki/Plugin/osm.pm
index a5af4ed21..27db31af5 100644
--- a/IkiWiki/Plugin/osm.pm
+++ b/IkiWiki/Plugin/osm.pm
@@ -233,7 +233,7 @@ sub get_tag_icon($) {
my $tag = shift;
# look for an icon attached to the tag
my $attached = $tag . '/' . $config{'osm_tag_default_icon'};
- if (srcfile($attached)) {
+ if (srcfile($attached, 1)) {
return $attached;
}
else {