aboutsummaryrefslogtreecommitdiffstats
path: root/daemon/conf.c
diff options
context:
space:
mode:
Diffstat (limited to 'daemon/conf.c')
-rw-r--r--daemon/conf.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/daemon/conf.c b/daemon/conf.c
index 9be1c18..a80a689 100644
--- a/daemon/conf.c
+++ b/daemon/conf.c
@@ -948,7 +948,9 @@ gboolean read_configuration()
TRACE_ENTER( "\n" );
- if( '\\' == syslog_conf_dir[0] || '/' == syslog_conf_dir[0] || ':' == syslog_conf_dir[1] )
+ if( conf_file_name )
+ pathname = g_strdup( conf_file_name );
+ else if( '\\' == syslog_conf_dir[0] || '/' == syslog_conf_dir[0] || ':' == syslog_conf_dir[1] )
/* absolute path */
pathname = g_build_filename( syslog_conf_dir, "syslog.conf", NULL );
else