]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
systemctl: fix tabs indentations 17359/head
authorLennart Poettering <lennart@poettering.net>
Thu, 15 Oct 2020 08:56:01 +0000 (10:56 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 15 Oct 2020 08:56:01 +0000 (10:56 +0200)
src/systemctl/systemctl-set-environment.c

index ac1ec7d6feacdf2e65f3c6689eed0d2abdf320a6..4d17c91df2c28bc9a4ab67320614a223255c3a9d 100644 (file)
@@ -63,7 +63,7 @@ int show_environment(int argc, char *argv[], void *userdata) {
 
 static void invalid_callback(const char *p, void *userdata) {
         _cleanup_free_ char *t = cescape(p);
+
         log_debug("Ignoring invalid environment assignment \"%s\".", strnull(t));
 }
 
@@ -120,13 +120,13 @@ int import_environment(int argc, char *argv[], void *userdata) {
 
         if (argc < 2) {
                 _cleanup_strv_free_ char **copy = NULL;
+
                 copy = strv_copy(environ);
                 if (!copy)
                         return log_oom();
+
                 strv_env_clean_with_callback(copy, invalid_callback, NULL);
+
                 r = sd_bus_message_append_strv(m, copy);
 
         } else {