gitsrht-shell: add missing db.Close

This commit is contained in:
Drew DeVault 2024-01-17 10:37:39 +01:00
parent dfbd1bd359
commit 34fa7d7556
1 changed files with 1 additions and 0 deletions

View File

@ -164,6 +164,7 @@ func main() {
if err != nil {
logger.Fatalf("Failed to open a database connection: %v", err)
}
defer db.Close()
// Note: when updating push access logic, also update scm.sr.ht/access.py
var (