summaryrefslogtreecommitdiffstats
path: root/ipa-client/ipaclient/Makefile.am
diff options
context:
space:
mode:
authorMartin Kosek <mkosek@redhat.com>2011-03-07 17:35:17 +0100
committerRob Crittenden <rcritten@redhat.com>2011-03-07 18:16:48 -0500
commit46221e57bf31bdba833da7d4f61ad215d8d083f3 (patch)
tree15482feda9ed656d137292aa912186f0f2de73ab /ipa-client/ipaclient/Makefile.am
parentfb899760ead562d4123399b603d5575dfcc186d6 (diff)
downloadfreeipa-46221e57bf31bdba833da7d4f61ad215d8d083f3.tar.gz
freeipa-46221e57bf31bdba833da7d4f61ad215d8d083f3.tar.xz
freeipa-46221e57bf31bdba833da7d4f61ad215d8d083f3.zip
Improve error handling and return status codes in ipactl
There are cases when ipactl returns success even when it fails. Plus, when the error really is detected the status codes are not LSB compliant. This may result in consequent issues. This patch improves error handling in ipactl and adds LSB compliant status codes. Namely: 0 program is running or service is OK 3 program is not running 4 program or service status is unknown for "status" action. Status code 4 is issued when IPA is not configured to distinguish this state from not running IPA. For other actions, the following non-zero status codes are implemented: 1 generic or unspecified error 2 invalid or excess argument(s) 4 user had insufficient privilege 6 program is not configured https://fedorahosted.org/freeipa/ticket/1055
Diffstat (limited to 'ipa-client/ipaclient/Makefile.am')
0 files changed, 0 insertions, 0 deletions