diff options
author | Amitai Schleier <schmonz-web-ikiwiki@schmonz.com> | 2018-04-23 22:28:49 -0400 |
---|---|---|
committer | Amitai Schleier <schmonz-web-ikiwiki@schmonz.com> | 2018-04-23 22:28:49 -0400 |
commit | ab9cb284149d51ef8c0be44893be3ecdf955a939 (patch) | |
tree | c1c42b41004b3d91feae0e908b30f997adb6ac07 /IkiWiki | |
parent | 15130f6cb058e3f284664811e84ec9b3f3ae6604 (diff) | |
download | ikiwiki-ab9cb284149d51ef8c0be44893be3ecdf955a939.tar ikiwiki-ab9cb284149d51ef8c0be44893be3ecdf955a939.tar.gz |
Call srcfile() with nothrow, as clearly intended.
Diffstat (limited to 'IkiWiki')
-rw-r--r-- | IkiWiki/Plugin/osm.pm | 2 |
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 { |