From: Christian Rebischke Date: Thu, 28 Jul 2016 02:40:20 +0000 (+0200) Subject: systemctl: be sure to be quiet with 'systemctl is-enabled --quiet' (#3819) X-Git-Tag: v232~362 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=689e4e6a94222b4d58a8b9cb3c51cc2f82268aa9;p=thirdparty%2Fsystemd.git systemctl: be sure to be quiet with 'systemctl is-enabled --quiet' (#3819) Fixes #3813. --- diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c index 91caae009ee..782824ff384 100644 --- a/src/systemctl/systemctl.c +++ b/src/systemctl/systemctl.c @@ -5566,10 +5566,12 @@ static int enable_sysv_units(const char *verb, char **args) { if (!found_sysv) continue; - if (found_native) - log_info("Synchronizing state of %s with SysV service script with %s.", name, argv[0]); - else - log_info("%s is not a native service, redirecting to systemd-sysv-install.", name); + if (!arg_quiet) { + if (found_native) + log_info("Synchronizing state of %s with SysV service script with %s.", name, argv[0]); + else + log_info("%s is not a native service, redirecting to systemd-sysv-install.", name); + } if (!isempty(arg_root)) argv[c++] = q = strappend("--root=", arg_root);