Disable message about log in ipa-backup if IPA is not configured

Introduce server installation constants similar to the client
but only tie in SERVER_NOT_CONFIGURED right now.

For the case of not configured don't spit out the "See <some log>
for more information" because no logging was actually done.

In the case of ipa-backup this could also be confusing if the
--log-file option was also passed in because it would not be
used.

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

Signed-off-by: Rob Crittenden <rcritten@redhat.com>
Reviewed-By: Christian Heimes <cheimes@redhat.com>
This commit is contained in:
Rob Crittenden
2018-05-03 17:34:45 +02:00
committed by Christian Heimes
parent 1adc941d1f
commit 648d7c0d38
3 changed files with 12 additions and 3 deletions
+2
View File
@@ -69,6 +69,8 @@ Log to the given file
0 if the command was successful
1 if an error occurred
2 if IPA is not configured
.SH "FILES"
.PP
\fI/var/lib/ipa/backup\fR