From: Michael Chapman Date: Tue, 5 May 2020 03:38:25 +0000 (+1000) Subject: core/path: use escaped path in serialization X-Git-Tag: v246-rc1~92^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f285f07752d784e5fa1b84ac8cbc263c488eccd1;p=thirdparty%2Fsystemd.git core/path: use escaped path in serialization --- diff --git a/src/core/path.c b/src/core/path.c index cb75d778afa..d216dcb8508 100644 --- a/src/core/path.c +++ b/src/core/path.c @@ -616,7 +616,7 @@ static int path_serialize(Unit *u, FILE *f, FDSet *fds) { (void) serialize_item_format(f, "path-spec", "%s %i %s", path_type_to_string(s->type), s->previous_exists, - s->path); + escaped); } return 0;