chiark / gitweb /
systemctl: remove spurious newline
authorLennart Poettering <lennart@poettering.net>
Thu, 2 Oct 2014 18:37:50 +0000 (20:37 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 2 Oct 2014 18:38:00 +0000 (20:38 +0200)
src/systemctl/systemctl.c

index 901212852d9b22ef864dec8ccc50cdded9381ac2..1c6fef484e47c9113e1201e4d1f44666b00dcc0b 100644 (file)
@@ -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);