The pkispawn has been modified such that if the admin selects to
import the admin certificate the admin will not be asked where to
export the certificate.

https://fedorahosted.org/pki/ticket/2399

Pushed under one-liner/trivial rule.

--
Endi S. Dewata
>From efd25df7b086ee6d4dc2012407e5e8135ddfb1a5 Mon Sep 17 00:00:00 2001
From: "Endi S. Dewata" <edew...@redhat.com>
Date: Sat, 16 Jul 2016 07:01:23 +0200
Subject: [PATCH] Removed redundant question in interactive pkispawn.

The pkispawn has been modified such that if the admin selects to
import the admin certificate the admin will not be asked where to
export the certificate.

https://fedorahosted.org/pki/ticket/2399
---
 base/server/sbin/pkispawn | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/base/server/sbin/pkispawn b/base/server/sbin/pkispawn
index d3a111fc9d13c2405de7b572ebf8cb9a423188a1..11745b4c4b0b8e4dc41e925bf9bdb9a24599f68f 100755
--- a/base/server/sbin/pkispawn
+++ b/base/server/sbin/pkispawn
@@ -226,9 +226,9 @@ def main(argv):
                                     'pki_import_admin_cert',
                                     'False')
 
-            parser.read_text('Export certificate to',
-                             config.pki_subsystem,
-                             'pki_client_admin_cert')
+                parser.read_text('Export certificate to',
+                                 config.pki_subsystem,
+                                 'pki_client_admin_cert')
 
             # if parser.mdict['pki_hsm_enable'] == 'True':
             #     use_hsm = 'Y'
@@ -261,7 +261,7 @@ def main(argv):
             # parser.set_property(config.pki_subsystem,
             #                     'pki_hsm_libfile',
             #                     libfile)
-            # print
+            print()
 
             print("Directory Server:")
             while True:
-- 
2.4.11

_______________________________________________
Pki-devel mailing list
Pki-devel@redhat.com
https://www.redhat.com/mailman/listinfo/pki-devel

Reply via email to