summaryrefslogtreecommitdiff
path: root/shell-completion/zsh
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-01-11 14:45:19 -0500
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-01-11 16:37:34 -0500
commit99171d2fdf720ebb64fee75db4177af5d048d0f9 (patch)
tree5d059f759bff69d1d07866ee184c18e9f0f9025f /shell-completion/zsh
parent69dc6922524c32d6b3723394d44fb5f60c9c438a (diff)
downloadsystemd-99171d2fdf720ebb64fee75db4177af5d048d0f9.tar.gz
shell-completion: redirect all errors from systemctl to /dev/null
Completion scripts should not generate errors, ever. https://bugzilla.redhat.com/show_bug.cgi?id=1409649
Diffstat (limited to 'shell-completion/zsh')
-rw-r--r--shell-completion/zsh/_systemctl.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell-completion/zsh/_systemctl.in b/shell-completion/zsh/_systemctl.in
index 03a1c930b0..d77a2df74e 100644
--- a/shell-completion/zsh/_systemctl.in
+++ b/shell-completion/zsh/_systemctl.in
@@ -91,7 +91,7 @@
__systemctl()
{
- systemctl $_sys_service_mgr --full --no-legend --no-pager "$@"
+ systemctl $_sys_service_mgr --full --no-legend --no-pager "$@" 2>/dev/null
}