As an IPA user, I want the ipactl status exit codes to fail on partial errors so that I do not have to process text messages that may change in the future.
ipactl status
ipactl status will return an exit code of 0 even when it cannot complete its tasking properly.
0
systemctl stop dirsrv@domain.service
test $? -eq 0 && echo 'BAD'
BAD is printed.
BAD
BAD should not be printed because a failure to get the system state is an error.
$ ipa-server-4.6.8-5.el7.centos.x86_64
Metadata Update from @rcritten: - Issue assigned to rcritten
Part of https://github.com/freeipa/freeipa/pull/5485
master:
ipa-4-9:
Metadata Update from @frenaud: - Issue close_status updated to: fixed - Issue status updated to: Closed (was: Open)