diff options
author | Christian Ruppert <idl0r@gentoo.org> | 2012-01-24 19:40:59 +0100 |
---|---|---|
committer | Christian Ruppert <idl0r@gentoo.org> | 2012-01-24 19:41:50 +0100 |
commit | ced60319e315f4f12418c116b8823817d20839d6 (patch) | |
tree | 63e899180b7bb1d24412c291f4b6e4242e18b33d /src/librc | |
parent | cacea4e7f3de67181d54317759e9d3361504cfe4 (diff) |
Override rc.conf options only
Diffstat (limited to 'src/librc')
-rw-r--r-- | src/librc/librc-misc.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/librc/librc-misc.c b/src/librc/librc-misc.c index 8b00e36c..6a5f598b 100644 --- a/src/librc/librc-misc.c +++ b/src/librc/librc-misc.c @@ -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; |