From cbcb79f93d23e541ea9e16d894b23f8caf01394c Mon Sep 17 00:00:00 2001 From: oetiker Date: Sun, 4 Oct 2009 11:28:43 +0000 Subject: [PATCH] rrdcached: Improved an error message. -- Sebastian Harl git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1922 a5681a0c-68f1-0310-ab6d-d61299d08faa --- program/src/rrd_daemon.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/program/src/rrd_daemon.c b/program/src/rrd_daemon.c index 7913a599..fa7dc41b 100644 --- a/program/src/rrd_daemon.c +++ b/program/src/rrd_daemon.c @@ -2914,7 +2914,8 @@ static int read_options (int argc, char **argv) /* {{{ */ */ if (realpath(config_base_dir, base_realpath) == NULL) { - fprintf (stderr, "Invalid base directory '%s'.\n", config_base_dir); + fprintf (stderr, "Failed to canonicalize the base directory '%s': " + "%s\n", config_base_dir, rrd_strerror(errno)); return 5; } else if (strncmp(config_base_dir, -- 2.30.2