diff --git a/cmd/utils.go b/cmd/utils.go index f070d54b..ef4a7935 100644 --- a/cmd/utils.go +++ b/cmd/utils.go @@ -100,7 +100,7 @@ func python(fn pythonFunc, cfg pythonConfig) cobraFunc { } else if !exists && !cfg.noDB && !cfg.allowNoDB { log.Fatal(absPath + " does not exist. Please run 'filebrowser config init' first.") } else if !exists && !cfg.noDB { - log.Println(absPath + " does not exist. initialing...") + log.Println("Warning: filebrowser.db can't be found. Initialing in " + strings.TrimRight(absPath, "filebrowser.db")) } log.Println("Using database: " + absPath)