forked from TrueCloudLab/certificates
Create the db directory on step ca init
This commit is contained in:
parent
57f9e54151
commit
9848caf49f
1 changed files with 1 additions and 0 deletions
|
@ -978,6 +978,7 @@ func (p *PKI) Save(opt ...ConfigOption) error {
|
|||
}
|
||||
|
||||
if cfg.DB != nil {
|
||||
os.MkdirAll(cfg.DB.DataSource, 0700)
|
||||
ui.PrintSelected("Database folder", cfg.DB.DataSource)
|
||||
}
|
||||
if cfg.Templates != nil {
|
||||
|
|
Loading…
Reference in a new issue