aboutsummaryrefslogtreecommitdiffstats
path: root/src/conf.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/conf.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/conf.c b/src/conf.c
index b3b684aa5..245a2a811 100644
--- a/src/conf.c
+++ b/src/conf.c
@@ -513,11 +513,11 @@ config_dup_path(const char *name, GError **error_r)
if (param == NULL)
return NULL;
- char *path = parsePath(param->value);
+ char *path = parsePath(param->value, error_r);
if (G_UNLIKELY(path == NULL))
- g_set_error(error_r, config_quark(), 0,
- "Invalid path in \"%s\" at line %i",
- name, param->line);
+ g_prefix_error(error_r,
+ "Invalid path in \"%s\" at line %i: ",
+ name, param->line);
return path;
}