Fix typo causing ipa-upgradeconfig to fail.

Replace 'post-certsave-command' by 'cert-postsave-command'.

https://fedorahosted.org/freeipa/ticket/4529

Reviewed-By: Jan Cholasta <jcholast@redhat.com>
This commit is contained in:
David Kupka 2014-09-10 11:57:46 +02:00 committed by Martin Kosek
parent 9c50f9f957
commit cba9dcfe0d

View File

@ -713,7 +713,7 @@ def certificate_renewal_update(ca):
if pre_command != val:
break
val = certmonger.get_request_value(request_id, 'post-certsave-command')
val = certmonger.get_request_value(request_id, 'cert-postsave-command')
if val is not None:
val = val.split(' ', 1)[0]
val = os.path.basename(val)