summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/systemctl/systemctl.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c
index f7b2fb4019..5dcefd7f18 100644
--- a/src/systemctl/systemctl.c
+++ b/src/systemctl/systemctl.c
@@ -3718,23 +3718,6 @@ static int cat(sd_bus *bus, char **args) {
continue;
}
- if (isempty(fragment_path)) {
- free(fragment_path);
- fragment_path = NULL;
-
- if (sd_bus_get_property_string(
- bus,
- "org.freedesktop.systemd1",
- unit,
- "org.freedesktop.systemd1.Unit",
- "SourcePath",
- &error,
- &fragment_path) < 0) {
- log_warning("Failed to get SourcePath: %s", bus_error_message(&error, r));
- continue;
- }
- }
-
r = sd_bus_get_property_strv(
bus,
"org.freedesktop.systemd1",