Skip to content
Myr

icon: disable error log when failing to open index.theme

Before adoption: this commit came in with the history the project adopted, so no landing records it.

This spams too much for certain themes.

authored by Daniel Eklöf · committed by Daniel Eklöf · parent b765f20 · Browse files · 1 file+2 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:icon.c+2 added-2 removed
153 unmodified lines
154 bool ret = false;155156 theme_dir_fd = open(dir, O_RDONLY);157 if (theme_dir_fd == -1) {158 //LOG_WARN("%s: failed to open", dir);158 //LOG_ERRNO("%s: failed to open", dir);159 goto out;160 }161162 index_fd = openat(theme_dir_fd, "index.theme", O_RDONLY);163 if (index_fd == -1) {164 LOG_ERRNO("%s/index.theme: failed to open", dir);164 //LOG_ERRNO("%s/index.theme: failed to open", dir);165 goto out;166 }167168 index = fdopen(index_fd, "r");
94 unmodified lines