summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-10-02 20:37:50 +0200
committerLennart Poettering <lennart@poettering.net>2014-10-02 20:38:00 +0200
commitcc19881a694c26af2d941246f72221df7e76ee02 (patch)
tree62f39c0e37b1b841c7779a45d72b7e6f49476ed4
parent2c652b6bfe816296a5664dae1125e6bb665b9d5e (diff)
systemctl: remove spurious newline
-rw-r--r--src/systemctl/systemctl.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c
index 901212852..1c6fef484 100644
--- a/src/systemctl/systemctl.c
+++ b/src/systemctl/systemctl.c
@@ -4466,9 +4466,7 @@ static int cat(sd_bus *bus, char **args) {
STRV_FOREACH(name, names) {
_cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL;
_cleanup_strv_free_ char **dropin_paths = NULL;
- _cleanup_free_ char *fragment_path = NULL;
- _cleanup_free_ char *unit = NULL;
-
+ _cleanup_free_ char *fragment_path = NULL, *unit = NULL;
char **path;
unit = unit_dbus_path_from_name(*name);