mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-23 07:33:27 -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
371254fc4b
commit
9d49b4c7e7
@ -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