From 2d6315fa9386aaecbc1a7fc6a7ffcceb0ae09c35 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Fri, 24 Jan 2025 13:10:58 +0100 Subject: fix: build failure (bad rebase) --- internal/programs/programs.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'internal') diff --git a/internal/programs/programs.go b/internal/programs/programs.go index dc508b9..5088444 100644 --- a/internal/programs/programs.go +++ b/internal/programs/programs.go @@ -54,7 +54,8 @@ func Instantiate( } func (p *DB) Open() error { - db, err := sql.Open("sqlite", p.Path) + var err error + p.db, err = sql.Open("sqlite", p.Path) if err != nil { return errors.WithMessage(err, "failed to open sqlite database") } -- cgit 1.4.1