Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
config: don't migrate when the main config file is not available
  • Loading branch information
perexg committed Nov 30, 2015
1 parent 640e522 commit 3d9eae2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/config.c
Expand Up @@ -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) {
Expand Down

0 comments on commit 3d9eae2

Please sign in to comment.