aboutsummaryrefslogtreecommitdiffstats
path: root/routers/install/setting.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/install/setting.go')
-rw-r--r--routers/install/setting.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/routers/install/setting.go b/routers/install/setting.go
index 68984f1e78..dadefa26a2 100644
--- a/routers/install/setting.go
+++ b/routers/install/setting.go
@@ -30,7 +30,7 @@ func PreloadSettings(ctx context.Context) bool {
}
setting.LoadSettingsForInstall()
- svg.Init()
+ _ = svg.Init()
}
return !setting.InstallLock
@@ -47,6 +47,5 @@ func reloadSettings(ctx context.Context) {
} else {
log.Fatal("ORM engine initialization failed: %v", err)
}
- svg.Init()
}
}