mirror of
https://github.com/owncast/owncast.git
synced 2025-11-01 19:32:20 +08:00
Fix initial creation of logging directory
This commit is contained in:
3
main.go
3
main.go
@ -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
|
||||
|
||||
Reference in New Issue
Block a user