mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-25 08:21:05 -06:00
Don't show error messages in bash completion
Redirect bash error output to prevent displaying error messages in bash completion for ipa command. https://fedorahosted.org/freeipa/ticket/6273 Reviewed-By: David Kupka <dkupka@redhat.com>
This commit is contained in:
parent
5a3c3c73c2
commit
a046d1170b
@ -11,7 +11,7 @@
|
||||
|
||||
_ipa_commands()
|
||||
{
|
||||
ipa help commands | sed -r 's/^([-[:alnum:]]*).*/\1/' | grep '^[[:alnum:]]'
|
||||
ipa help commands 2>/dev/null | sed -r 's/^([-[:alnum:]]*).*/\1/' | grep '^[[:alnum:]]'
|
||||
}
|
||||
|
||||
_ipa()
|
||||
|
Loading…
Reference in New Issue
Block a user