summaryrefslogtreecommitdiffhomepage
path: root/main.go
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2025-06-13 21:56:54 +0200
committerThomas Voss <mail@thomasvoss.com> 2025-06-13 21:56:54 +0200
commitc7ad83472710a7e72d7566b09f2eb223708e1343 (patch)
tree4f76a2dd326344b5f2594d3f3a3d58cf363c3bea /main.go
parentdf7d90ed36da337ff271324476591910f3de9792 (diff)
Make the DB private to dbx
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index 299d77c..dc4a6f4 100644
--- a/main.go
+++ b/main.go
@@ -59,7 +59,7 @@ func watch() {
}
if nstat.ModTime() != ostat.ModTime() {
- dbx.DB.Close()
+ dbx.Close()
if err := syscall.Exec(path, os.Args, os.Environ()); err != nil {
log.Fatal(err)
}