summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-06-06 17:33:25 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-07-10 13:35:17 +0200
commitc1d95b713a50c1dee6d82c27d7ed5ffad9daf603 (patch)
treefa3c74ab8fbceb64191a4e747cae8b7f995b3614 /src/core
parentf34635bcda4e725f72da4ae982b83daf36609b41 (diff)
downloadsystemd-c1d95b713a50c1dee6d82c27d7ed5ffad9daf603.tar.gz
pid1: tiny simplification
v2: - use empty_to_root()
Diffstat (limited to 'src/core')
-rw-r--r--src/core/dbus-manager.c2
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) {