From ab9cb284149d51ef8c0be44893be3ecdf955a939 Mon Sep 17 00:00:00 2001 From: Amitai Schleier Date: Mon, 23 Apr 2018 22:28:49 -0400 Subject: [PATCH] Call srcfile() with nothrow, as clearly intended. --- IkiWiki/Plugin/osm.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.39.5