]> git.ipfire.org Git - thirdparty/systemd.git/commit
pid1: shorten dump output a bit by not repeating unit id twice
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 5 Jul 2019 11:34:54 +0000 (13:34 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 11 Jul 2019 09:19:19 +0000 (11:19 +0200)
commit0121d1f28d0c8beb7c3145306189d5fcac1317cc
treee21cfc7424153eb5d1a456fbebed94624f40ffd0
parent8e27167cc9b8beda2bf49789b15f0b0301b95d17
pid1: shorten dump output a bit by not repeating unit id twice

Most units have just one name, but we'd print it twice:
-> Unit systemd-sysctl.service:
        ...
Name: systemd-sysctl.service

Let's only print the "main" name once, and call the other names Aliases.
src/core/unit.c