diff options
author | Alan Pearce | 2025-01-24 13:10:58 +0100 |
---|---|---|
committer | Alan Pearce | 2025-01-24 13:10:58 +0100 |
commit | 2d6315fa9386aaecbc1a7fc6a7ffcceb0ae09c35 (patch) | |
tree | 4b46101cd09088d8a19b21989776e6cc1644e416 | |
parent | 61ed2c479fcd8b7be54dc30cc1a7f0b0d5ddc852 (diff) | |
download | searchix-2d6315fa9386aaecbc1a7fc6a7ffcceb0ae09c35.tar.lz searchix-2d6315fa9386aaecbc1a7fc6a7ffcceb0ae09c35.tar.zst searchix-2d6315fa9386aaecbc1a7fc6a7ffcceb0ae09c35.zip |
fix: build failure (bad rebase)
-rw-r--r-- | internal/programs/programs.go | 3 |
1 files changed, 2 insertions, 1 deletions
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") } |