summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d4767fd)
raw | patch | inline | side by side (parent: d4767fd)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Sun, 4 Oct 2009 11:28:43 +0000 (11:28 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Sun, 4 Oct 2009 11:28:43 +0000 (11:28 +0000) |
src/rrd_daemon.c | patch | blob | history |
diff --git a/src/rrd_daemon.c b/src/rrd_daemon.c
index 7913a599bf3995e70288a30666fe992c2804b386..fa7dc41bac4cf62837d2517f3a66f707ad5ff44b 100644 (file)
--- a/src/rrd_daemon.c
+++ b/src/rrd_daemon.c
*/
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,