From: Lennart Poettering Date: Mon, 26 Jun 2017 14:11:20 +0000 (+0200) Subject: systemctl: be truly quiet in systemctl -q is-enabled X-Git-Tag: v234~86^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8ecc68f4301a25337f93822296edd77af25c621f;p=thirdparty%2Fsystemd.git systemctl: be truly quiet in systemctl -q is-enabled Fixes: #6196 --- diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c index a61d46d7fc0..012581e3dc7 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)