Override rc.conf options only

This commit is contained in:
Christian Ruppert 2012-01-24 19:40:59 +01:00
parent cacea4e7f3
commit ced60319e3

View File

@ -346,7 +346,10 @@ rc_config_load(const char *file)
rc_stringlist_free(list);
#ifdef __linux__
config = rc_config_override(config);
/* Only override rc.conf settings */
if(strcmp(file, RC_CONF) == 0) {
config = rc_config_override(config);
}
#endif
return config;