From: Chris Koeritz Date: Thu, 4 Oct 2012 00:22:30 +0000 (-0400) Subject: fixed directory creation for logging to use recursive. X-Git-Tag: 2.140.90~1201 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=cad1d0d2a8701bc238e1df3222f55125549e4089;p=feisty_meow.git fixed directory creation for logging to use recursive. --- diff --git a/nucleus/library/configuration/application_configuration.cpp b/nucleus/library/configuration/application_configuration.cpp index 5e7feac0..9f01391f 100644 --- a/nucleus/library/configuration/application_configuration.cpp +++ b/nucleus/library/configuration/application_configuration.cpp @@ -326,7 +326,7 @@ astring application_configuration::get_logging_directory() // now we make sure the directory exists. filename testing(log_dir); if (!testing.exists()) { - bool okay = directory::make_directory(log_dir); + bool okay = directory::recursive_create(log_dir); if (!okay) { LOG(astring("failed to create logging directory: ") + log_dir); // return a directory almost guaranteed to exist; best we can do in this case.