diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2019-06-06 17:33:25 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2019-07-10 13:35:17 +0200 |
commit | c1d95b713a50c1dee6d82c27d7ed5ffad9daf603 (patch) | |
tree | fa3c74ab8fbceb64191a4e747cae8b7f995b3614 /src/core | |
parent | f34635bcda4e725f72da4ae982b83daf36609b41 (diff) | |
download | systemd-c1d95b713a50c1dee6d82c27d7ed5ffad9daf603.tar.gz systemd-c1d95b713a50c1dee6d82c27d7ed5ffad9daf603.tar.bz2 systemd-c1d95b713a50c1dee6d82c27d7ed5ffad9daf603.zip |
pid1: tiny simplification
v2:
- use empty_to_root()
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/dbus-manager.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/dbus-manager.c b/src/core/dbus-manager.c index c113140e8f..cdd312b9ca 100644 --- a/src/core/dbus-manager.c +++ b/src/core/dbus-manager.c @@ -683,7 +683,7 @@ static int reply_unit_info(sd_bus_message *reply, Unit *u) { unit_path, u->job ? u->job->id : 0, u->job ? job_type_to_string(u->job->type) : "", - job_path ? job_path : "/"); + empty_to_root(job_path)); } static int method_list_units_by_names(sd_bus_message *message, void *userdata, sd_bus_error *error) { |