diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-05-08 17:43:49 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-05-28 13:44:38 +0900 |
commit | 4ff361cc8611459388d7f75955bfe645f894f065 (patch) | |
tree | f0fe232aee56d0517cdd0e8b86f1d497afe65f85 /src/core/dbus-execute.c | |
parent | 0195046449fc1cf946fe3087b7304a600453dbdd (diff) | |
download | systemd-4ff361cc8611459388d7f75955bfe645f894f065.tar.gz |
tree-wide: always drop unnecessary dot in path
Diffstat (limited to 'src/core/dbus-execute.c')
-rw-r--r-- | src/core/dbus-execute.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/dbus-execute.c b/src/core/dbus-execute.c index 9c141d73b1..50daef6702 100644 --- a/src/core/dbus-execute.c +++ b/src/core/dbus-execute.c @@ -1451,7 +1451,7 @@ int bus_set_transient_exec_command( } else c->flags = b ? EXEC_COMMAND_IGNORE_FAILURE : 0; - path_simplify(c->path, false); + path_simplify(c->path); exec_command_append_list(exec_command, c); } @@ -3062,7 +3062,7 @@ int bus_exec_context_set_transient_property( if (!path_is_absolute(i + offset)) return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Invalid %s", name); - path_simplify(i + offset, false); + path_simplify(i + offset); } if (!UNIT_WRITE_FLAGS_NOOP(flags)) { |