Skip to content
Permalink
Browse files

Call srcfile() with nothrow, as clearly intended.

  • Loading branch information...
schmonz committed Apr 24, 2018
1 parent 15130f6 commit ab9cb284149d51ef8c0be44893be3ecdf955a939
Showing with 1 addition and 1 deletion.
  1. +1 −1 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 {

0 comments on commit ab9cb28

Please sign in to comment.
You can’t perform that action at this time.