From 01f78473b104d28db0fa813414092bc6358ae521 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 24 May 2010 05:25:33 +0200 Subject: path: add .path unit type for monitoring files --- src/conf-parser.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/conf-parser.c') diff --git a/src/conf-parser.c b/src/conf-parser.c index 6994211b10..20f7641b13 100644 --- a/src/conf-parser.c +++ b/src/conf-parser.c @@ -337,6 +337,8 @@ int config_parse_path( if (!(n = strdup(rvalue))) return -ENOMEM; + path_kill_slashes(n); + free(*s); *s = n; @@ -441,6 +443,8 @@ int config_parse_path_strv( goto fail; } + path_kill_slashes(n[k]); + k++; } -- cgit v1.2.3-54-g00ecf