Fix stupid logic typo, that prevented monitoring from working.
This commit is contained in:
		
				
					committed by
					
						 Justin Maggard
						Justin Maggard
					
				
			
			
				
	
			
			
			
						parent
						
							42f0630198
						
					
				
				
					commit
					4ba6f1fa27
				
			| @@ -3,7 +3,7 @@ int monitor_insert_directory(int fd, char *name, const char * path); | |||||||
| int monitor_remove_file(const char * path); | int monitor_remove_file(const char * path); | ||||||
| int monitor_remove_directory(int fd, const char * path); | int monitor_remove_directory(int fd, const char * path); | ||||||
|  |  | ||||||
| #if defined(HAVE_INOTIFY) && defined(HAVE_KQUEUE) | #if defined(HAVE_INOTIFY) || defined(HAVE_KQUEUE) | ||||||
| #define	HAVE_WATCH 1 | #define	HAVE_WATCH 1 | ||||||
| int	add_watch(int, const char *); | int	add_watch(int, const char *); | ||||||
| #endif | #endif | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user