The help command fails with a traceback when piped into a bad command:
$ ipa help automount|bad -bash: bad: command not found ipa: ERROR: non-public: IOError: [Errno 32] Broken pipe Traceback (most recent call last): File "/home/rcrit/redhat/freeipa-test/ipalib/backend.py", line 125, in execute result = self.Command[_name](*args, **options) File "/home/rcrit/redhat/freeipa-test/ipalib/frontend.py", line 438, in __call__ ret = self.run(*args, **options) File "/home/rcrit/redhat/freeipa-test/ipalib/cli.py", line 755, in run self.print_commands(name) File "/home/rcrit/redhat/freeipa-test/ipalib/cli.py", line 825, in print_commands print ' %s %s' % (to_cli(c.name).ljust(mcl), c.summary) IOError: [Errno 32] Broken pipe ipa: ERROR: an internal error has occurred
Ticket has been cloned to Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=783292
master:
Metadata Update from @rcritten: - Issue assigned to rcritten - Issue set to the milestone: FreeIPA 4.2
Login to comment on this ticket.