]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
systemctl: be truly quiet in systemctl -q is-enabled
authorLennart Poettering <lennart@poettering.net>
Mon, 26 Jun 2017 14:11:20 +0000 (16:11 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 26 Jun 2017 14:11:20 +0000 (16:11 +0200)
Fixes: #6196
src/systemctl/systemctl.c

index a61d46d7fc0d50d1274c8cb57208e066d64348a8..012581e3dc72cd0131f1a079af310c7c8d0f59e7 100644 (file)
@@ -5912,7 +5912,8 @@ static int enable_sysv_units(const char *verb, char **args) {
                 if (!l)
                         return log_oom();
 
-                log_info("Executing: %s", l);
+                if (!arg_quiet)
+                        log_info("Executing: %s", l);
 
                 pid = fork();
                 if (pid < 0)