]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
Protect dvr_inotify_init() in the same way as the other dvr_inotify_* functions
authorDave Chapman <dave@dchapman.com>
Sat, 19 Jan 2013 19:01:52 +0000 (19:01 +0000)
committerDave Chapman <dave@dchapman.com>
Sat, 19 Jan 2013 19:01:52 +0000 (19:01 +0000)
src/dvr/dvr_db.c

index 6ab51aca036384416b3e1497565aa465a1d6354b..b7c66d68b18cd1612171a3691ab6ba37d52074c0 100644 (file)
@@ -1053,7 +1053,9 @@ dvr_init(void)
     }
   }
 
+#if ENABLE_INOTIFY
   dvr_inotify_init();
+#endif
   dvr_autorec_init();
   dvr_db_load();
   dvr_autorec_update();