diff options
-rw-r--r-- | serialize.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/serialize.cpp b/serialize.cpp index 8c63264f5..ddfede27a 100644 --- a/serialize.cpp +++ b/serialize.cpp @@ -17,7 +17,7 @@ void storeToFile(std::string versionId, uint8_t priority) { if(!fs::is_directory(PERSIST_DIR)) { - fs::create_directory(PERSIST_DIR); + fs::create_directories(PERSIST_DIR); } // store one copy in /var/lib/obmc/openpower-pnor-code-mgmt/[versionId] |