Only create ca_path directory if it does not already exist.
This commit is contained in:
commit
134b1b4caa
@ -110,6 +110,7 @@ class CloudController(object):
|
||||
'genrootca.sh')
|
||||
|
||||
start = os.getcwd()
|
||||
if not os.path.exists(FLAGS.ca_path):
|
||||
os.makedirs(FLAGS.ca_path)
|
||||
os.chdir(FLAGS.ca_path)
|
||||
# TODO(vish): Do this with M2Crypto instead
|
||||
|
Loading…
Reference in New Issue
Block a user