Make watcher not vomit into the terminal
This commit is contained in:
@ -100,7 +100,6 @@ void watcher_add_all(Watcher *w, char *root)
|
|||||||
|
|
||||||
char path[PATH_MAX];
|
char path[PATH_MAX];
|
||||||
snprintf(path, sizeof(path), "%s/%s", root, entry->d_name);
|
snprintf(path, sizeof(path), "%s/%s", root, entry->d_name);
|
||||||
LOGI("%s\n", path);
|
|
||||||
|
|
||||||
for (size_t i = 0; i < w->ignored.count; i++) {
|
for (size_t i = 0; i < w->ignored.count; i++) {
|
||||||
if (strcmp(w->ignored.items[i], path) == 0) {
|
if (strcmp(w->ignored.items[i], path) == 0) {
|
||||||
|
Reference in New Issue
Block a user