]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
epggrab: ota - fix grabbing, fixes #2900 v4.0.3
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:36:05 +0000 (08:36 +0200)
src/epggrab/otamux.c

index b77882467e5763a414a77f74504db032379278d4..553e67e91c50d43b958cb10b12d77b24f28aeb1f 100644 (file)
@@ -811,6 +811,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"))) {
@@ -820,8 +822,6 @@ epggrab_ota_init ( void )
     }
     htsmsg_destroy(c);
   }
-
-  epggrab_ota_running = 1;
 }
 
 void