aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/librc/librc-misc.c5
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;