diff --git a/src/misc/inode_watcher.c b/src/misc/inode_watcher.c index a84ba15a..99687baa 100644 --- a/src/misc/inode_watcher.c +++ b/src/misc/inode_watcher.c @@ -71,6 +71,7 @@ void *watchFileProcess(void *name) { inotify_rm_watch(fd, wd); close(fd); alive = 0; + return NULL; } #endif @@ -101,6 +102,7 @@ void *watchFileProcess(void *name) { } free(name); alive = 0; + return NULL; } #endif