Fix initial creation of logging directory

This commit is contained in:
Gabe Kangas
2021-07-11 17:08:51 -07:00
parent d042fd70d1
commit 5968aa49d2
2 changed files with 7 additions and 4 deletions

View File

@ -38,7 +38,6 @@ func main() {
config.LogDirectory = *logDirectory
}
configureLogging(*enableDebugOptions, *enableVerboseLogging)
log.Infoln(config.GetReleaseString())
if *backupDirectory != "" {
@ -52,6 +51,8 @@ func main() {
}
}
configureLogging(*enableDebugOptions, *enableVerboseLogging)
// Allows a user to restore a specific database backup
if *restoreDatabaseFile != "" {
databaseFile := config.DatabaseFilePath