Change the return codes of ipa-acme-manage

Traditionally in IPA 0 = success, 1 = error and then
specific error messages follow from that. Shift the
ipa-acme-manage return codes for "not installed" and
"not a CA" up by one.

https://pagure.io/freeipa/issue/8498

Signed-off-by: Rob Crittenden <rcritten@redhat.com>
Reviewed-By: Fraser Tweedale <ftweedal@redhat.com>
Reviewed-By: Mohammad Rizwan <myusuf@redhat.com>
This commit is contained in:
Rob Crittenden
2020-10-26 12:49:04 -04:00
parent 2768b0dbaf
commit e0ff82c884
3 changed files with 5 additions and 3 deletions

View File

@@ -31,6 +31,8 @@ Display the status of the ACME service.
.SH "EXIT STATUS"
0 if the command was successful
1 if the host is not a CA server
1 if an error occurred
2 if the host is not a FreeIPA server
3 if the host is not a CA server