mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
frontend: skip value output in output_for_cli
Do not include the `value` output value in CLI output in Command.output_for_cli by default. https://fedorahosted.org/freeipa/ticket/4739 Reviewed-By: David Kupka <dkupka@redhat.com>
This commit is contained in:
@@ -1050,7 +1050,9 @@ class Command(HasParam):
|
||||
continue
|
||||
result = output[o]
|
||||
|
||||
if o.lower() == 'count' and result == 0:
|
||||
if o == 'value':
|
||||
continue
|
||||
elif o.lower() == 'count' and result == 0:
|
||||
rv = 1
|
||||
elif o.lower() == 'failed':
|
||||
if entry_count(result) == 0:
|
||||
|
||||
Reference in New Issue
Block a user