summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-05-19 15:08:41 -0400
committerEvgeny Vereshchagin <evvers@ya.ru>2016-05-19 22:08:41 +0300
commit35b132e8ad3c50614605e00cf8ff20988094d21c (patch)
treec92e1a7a61155468c8279c90d9bc840db56e2c11
parent823e5fabb783d452607ff8ccaa5235af14eb44eb (diff)
downloadsystemd-35b132e8ad3c50614605e00cf8ff20988094d21c.tar.gz
systemctl: suppress no-[Install] hint when --quiet is used (#3295)
https://bugzilla.redhat.com/show_bug.cgi?id=1336960
-rw-r--r--src/systemctl/systemctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c
index fe24b936ec..53ab650ce2 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])