From ac78d81a35fae1c10464992dac25f1527a05cbc9 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 17 Jun 2014 02:15:03 +0200 Subject: [PATCH 1/1] install: improve paths we show the user when enabling/disabling --- src/shared/install.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/shared/install.c b/src/shared/install.c index afb2e5374..c7cb52202 100644 --- a/src/shared/install.c +++ b/src/shared/install.c @@ -160,12 +160,16 @@ static int add_file_change( if (!c[i].path) return -ENOMEM; + path_kill_slashes(c[i].path); + if (source) { c[i].source = strdup(source); if (!c[i].source) { free(c[i].path); return -ENOMEM; } + + path_kill_slashes(c[i].path); } else c[i].source = NULL; -- 2.30.2