Hi On Thu, Jun 4, 2015 at 6:31 PM, Andrei Borzenkov <[email protected]> wrote: > В Thu, 04 Jun 2015 10:08:52 +0200 > Sébastien Luttringer <[email protected]> пишет: >> What's the right way to get all pid belonging to a service? How can I >> unescape strings from systemctl? >> > > Well, you can use systemd-escape -u, but real question is why it gets > escaped twice and is it intentional.
We escape all strings we write to a TTY to make sure we don't accidentally write control-chars. However, we also don't know whether the data we print was already escaped or not (as we just call a generic handler on the dbus property). In short: double-escape is on purpose. Thanks David _______________________________________________ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel
