diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-05-19 15:08:41 -0400 |
---|---|---|
committer | Evgeny Vereshchagin <evvers@ya.ru> | 2016-05-19 22:08:41 +0300 |
commit | 35b132e8ad3c50614605e00cf8ff20988094d21c (patch) | |
tree | c92e1a7a61155468c8279c90d9bc840db56e2c11 /src | |
parent | 823e5fabb783d452607ff8ccaa5235af14eb44eb (diff) |
systemctl: suppress no-[Install] hint when --quiet is used (#3295)
https://bugzilla.redhat.com/show_bug.cgi?id=1336960
Diffstat (limited to 'src')
-rw-r--r-- | src/systemctl/systemctl.c | 2 |
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]) |