summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'cmd')
-rw-r--r--cmd/dashboard/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/dashboard/main.go b/cmd/dashboard/main.go
index 2d2f63b..40a5002 100644
--- a/cmd/dashboard/main.go
+++ b/cmd/dashboard/main.go
@@ -39,7 +39,7 @@ func main() {
if err != nil {
log.Fatalf("Failed to initialize database: %v", err)
}
- defer db.Close()
+ defer func() { _ = db.Close() }()
// Initialize session manager
sessionManager := scs.New()