Ugh...finish ca340d26430091ef97c5eb9d9a11cf4efe4b0434.
authorBrenden Matthews <brenden@rty.ca>
Sat, 13 Jun 2009 19:19:40 +0000 (13:19 -0600)
committerBrenden Matthews <brenden@rty.ca>
Sat, 13 Jun 2009 19:19:40 +0000 (13:19 -0600)
src/conky.c

index fbfe76c..5e67f8d 100644 (file)
@@ -7184,7 +7184,7 @@ static void main_loop(void)
                                break;
                }
 #ifdef HAVE_SYS_INOTIFY_H
-               if (inotify_fd != -1 && inotify_config_wd != -1) {
+               if (inotify_fd != -1 && inotify_config_wd == -1) {
                        inotify_config_wd = inotify_add_watch(inotify_fd,
                                        current_config,
                                        IN_MODIFY);