From 80ea0bf9e3f481b8ea813aefaa4de3b803b9f4ba Mon Sep 17 00:00:00 2001 From: Benjamin Chausse Date: Sat, 22 Feb 2025 14:23:28 -0500 Subject: Fix brutal shutdown logic --- internal/db/setup.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'internal/db/setup.go') diff --git a/internal/db/setup.go b/internal/db/setup.go index ff56233..26f40f2 100644 --- a/internal/db/setup.go +++ b/internal/db/setup.go @@ -59,8 +59,8 @@ func opts() string { } // Setup opens the SQLite DB at path, verifies its integrity and schema, -// and returns the valid DB handle. If any check fails, it backs up the old file -// and reinitializes the DB using the schema definitions. +// and returns the valid DB handle. If any check fails, it backs up the old +// file and reinitializes the DB using the schema definitions. func Setup(ctx context.Context, path string) (*Store, error) { slog.DebugContext(ctx, "Setting up database connection") -- cgit v1.2.3