summaryrefslogtreecommitdiffstats
path: root/src/ulogd.c
diff options
context:
space:
mode:
authorEric Leblond <eric@regit.org>2013-02-09 20:49:56 +0100
committerEric Leblond <eric@regit.org>2013-02-18 09:30:49 +0100
commit1baf694356a64c900d241a069e36529dd65fc679 (patch)
tree2ac3114c43c638919d6cad9d2ec2d13ec87d55e9 /src/ulogd.c
parentb48bc198742b2694793057b9c7712d76ff60f71e (diff)
Use access to ensure readability of config gile
This patch adds a call to access to check the readability of the configuration file.
Diffstat (limited to 'src/ulogd.c')
-rw-r--r--src/ulogd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ulogd.c b/src/ulogd.c
index c7617d9..f8c8ed0 100644
--- a/src/ulogd.c
+++ b/src/ulogd.c
@@ -1216,7 +1216,7 @@ int main(int argc, char* argv[])
/* parse config file */
if (parse_conffile("global", &ulogd_kset)) {
- ulogd_log(ULOGD_FATAL, "parse_conffile\n");
+ ulogd_log(ULOGD_FATAL, "unable to parse config file\n");
warn_and_exit(daemonize);
}