diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2017-01-11 20:45:19 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2017-01-11 22:37:34 +0100 |
commit | 99171d2fdf720ebb64fee75db4177af5d048d0f9 (patch) | |
tree | 5d059f759bff69d1d07866ee184c18e9f0f9025f /shell-completion/bash/systemctl.in | |
parent | socket-util: drop _pure_ from a function with an output parameter (diff) | |
download | systemd-99171d2fdf720ebb64fee75db4177af5d048d0f9.tar.xz systemd-99171d2fdf720ebb64fee75db4177af5d048d0f9.zip |
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/bash/systemctl.in')
-rw-r--r-- | shell-completion/bash/systemctl.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shell-completion/bash/systemctl.in b/shell-completion/bash/systemctl.in index dcf71a1f51..34589e2888 100644 --- a/shell-completion/bash/systemctl.in +++ b/shell-completion/bash/systemctl.in @@ -19,7 +19,7 @@ __systemctl() { local mode=$1; shift 1 - systemctl $mode --full --no-legend "$@" + systemctl $mode --full --no-legend "$@" 2>/dev/null } __systemd_properties() { |