From 8ecc68f4301a25337f93822296edd77af25c621f Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 26 Jun 2017 16:11:20 +0200 Subject: [PATCH] systemctl: be truly quiet in systemctl -q is-enabled Fixes: #6196 --- src/systemctl/systemctl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c index a61d46d7fc..012581e3dc 100644 --- a/src/systemctl/systemctl.c +++ b/src/systemctl/systemctl.c @@ -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)