diff options
author | Ulrich Drepper <drepper@redhat.com> | 2005-08-24 06:37:27 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2005-08-24 06:37:27 +0000 |
commit | 4fb5ab741ac5b498fd0591d82b5d225abac7b8ce (patch) | |
tree | b067640777bfc96b8da88c8277101a47771ba7db /nscd/nscd.c | |
parent | 8558d715d0dc104832c65f52e14158d0c606f3a1 (diff) | |
download | glibc-4fb5ab741ac5b498fd0591d82b5d225abac7b8ce.tar.gz glibc-4fb5ab741ac5b498fd0591d82b5d225abac7b8ce.tar.xz glibc-4fb5ab741ac5b498fd0591d82b5d225abac7b8ce.zip |
* nscd/nscd.c (main): Use error while process isn't running in the cvs/fedora-glibc-20050829T1854 cvs/fedora-glibc-20050824T0705
background, not dbg_log. * nscd/nscd_conf.c (nscd_parse_file): Likewise. Mark messages with _(). Unify testing for database name. * sysdeps/unix/sysv/linux/Versions: Export inotify_* syscalls.
Diffstat (limited to 'nscd/nscd.c')
-rw-r--r-- | nscd/nscd.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/nscd/nscd.c b/nscd/nscd.c index c16152c1b0..f96f44e0ba 100644 --- a/nscd/nscd.c +++ b/nscd/nscd.c @@ -150,12 +150,10 @@ main (int argc, char **argv) /* Read the configuration file. */ if (nscd_parse_file (conffile, dbs) != 0) - { - /* We couldn't read the configuration file. We don't start the - server. */ - dbg_log (_("cannot read configuration file; this is fatal")); - exit (1); - } + /* We couldn't read the configuration file. We don't start the + server. */ + error (EXIT_FAILURE, 0, + _("failure while reading configuration file; this is fatal")); /* Do we only get statistics? */ if (get_stats) |