From: Jaroslav Kysela Date: Thu, 28 May 2015 06:35:19 +0000 (+0200) Subject: epggrab: ota - fix grabbing, fixes #2900 X-Git-Tag: v4.0.3^0 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f30fc83002caccc2a02a3c2d36d2924220e13136;p=thirdparty%2Ftvheadend.git epggrab: ota - fix grabbing, fixes #2900 --- diff --git a/src/epggrab/otamux.c b/src/epggrab/otamux.c index b77882467..553e67e91 100644 --- a/src/epggrab/otamux.c +++ b/src/epggrab/otamux.c @@ -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