Config: Show error if originals and storage path seem identical #1642

Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
Michael Mayer
2024-01-21 14:22:16 +01:00
parent 7917482580
commit 86dc89c4b9
37 changed files with 464 additions and 235 deletions

View File

@@ -165,7 +165,7 @@ func NewTestConfig(pkg string) *Config {
s := customize.NewSettings(c.DefaultTheme(), c.DefaultLocale())
if err := os.MkdirAll(c.ConfigPath(), fs.ModeDir); err != nil {
if err := fs.MkdirAll(c.ConfigPath()); err != nil {
log.Fatalf("config: %s", err.Error())
}