]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
core/path: use escaped path in serialization
authorMichael Chapman <mike@very.puzzling.org>
Tue, 5 May 2020 03:38:25 +0000 (13:38 +1000)
committerMichael Chapman <mike@very.puzzling.org>
Tue, 5 May 2020 03:56:02 +0000 (13:56 +1000)
src/core/path.c

index cb75d778afa0f695b9b5667b121f1373589391b1..d216dcb850819341c022c5ae72f077e19c1e51c8 100644 (file)
@@ -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;