From: Zbigniew Jędrzejewski-Szmek Date: Thu, 19 May 2016 19:08:41 +0000 (-0400) Subject: systemctl: suppress no-[Install] hint when --quiet is used (#3295) X-Git-Tag: v230~20 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=35b132e8ad3c50614605e00cf8ff20988094d21c;p=thirdparty%2Fsystemd.git systemctl: suppress no-[Install] hint when --quiet is used (#3295) https://bugzilla.redhat.com/show_bug.cgi?id=1336960 --- diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c index fe24b936ec2..53ab650ce28 100644 --- a/src/systemctl/systemctl.c +++ b/src/systemctl/systemctl.c @@ -5463,7 +5463,7 @@ static int enable_unit(int argc, char *argv[], void *userdata) { UnitFileChange *changes = NULL; unsigned n_changes = 0; int carries_install_info = -1; - bool ignore_carries_install_info = false; + bool ignore_carries_install_info = arg_quiet; int r; if (!argv[1])