diff options
| -rw-r--r-- | autoreload_inotify.c | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/autoreload_inotify.c b/autoreload_inotify.c index e44c2f3..8e4d67a 100644 --- a/autoreload_inotify.c +++ b/autoreload_inotify.c @@ -27,8 +27,8 @@  CLEANUP void arl_cleanup(arl_t *arl)  { -	if (arl->fd != -1 && arl->wd != -1) -		inotify_rm_watch(arl->fd, arl->wd); +	if (arl->fd != -1) +		close(arl->fd);  }  static void arl_setup_dir(arl_t *arl, const char *filepath)  | 
