From: Jaroslav Kysela Date: Mon, 30 Nov 2015 16:29:09 +0000 (+0100) Subject: config: don't migrate when the main config file is not available X-Git-Tag: v4.2.1~1442 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3d9eae27847fc1dd9f7183db89e499ef3c3fd297;p=thirdparty%2Ftvheadend.git config: don't migrate when the main config file is not available --- diff --git a/src/config.c b/src/config.c index 97f934ee8..78d2be709 100644 --- a/src/config.c +++ b/src/config.c @@ -1676,6 +1676,7 @@ config_boot ( const char *path, gid_t gid, uid_t uid ) config2 = hts_settings_load("config"); if (!config2) { tvhlog(LOG_DEBUG, "config", "no configuration, loading defaults"); + config_newcfg = 1; } else { f = htsmsg_field_find(config2, "language"); if (f && f->hmf_type == HMF_STR) {