]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
epggrab: ota - fix grabbing, fixes #2900
authorJaroslav Kysela <perex@perex.cz>
Thu, 28 May 2015 06:35:19 +0000 (08:35 +0200)
committerJaroslav Kysela <perex@perex.cz>
Thu, 28 May 2015 06:35:22 +0000 (08:35 +0200)
src/epggrab/otamux.c

index 8b89b1dc4103bacb8d3c85fcaec9ea2986cf96f9..f931f8ce63eb5922a7eaed4892dcb0a565c2f701 100644 (file)
@@ -813,6 +813,8 @@ epggrab_ota_init ( void )
   if (!lstat(path, &st))
     if (!S_ISDIR(st.st_mode))
       hts_settings_remove("epggrab/otamux");
+
+  epggrab_ota_running = 1;
   
   /* Load config */
   if ((c = hts_settings_load_r(1, "epggrab/otamux"))) {
@@ -822,8 +824,6 @@ epggrab_ota_init ( void )
     }
     htsmsg_destroy(c);
   }
-
-  epggrab_ota_running = 1;
 }
 
 void