summaryrefslogtreecommitdiff
path: root/src/rhlibrary
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2016-12-30 14:59:24 (GMT)
committerChristian Pointner <equinox@helsinki.at>2016-12-30 14:59:24 (GMT)
commite548f2bb105320cf9f4bbc8af7cc9bb1491cccf7 (patch)
tree95a79cba66bbcd836636d11974dbb3b9e9361ada /src/rhlibrary
parent0f132952be60d5485f6d653e68919454b9e5b58c (diff)
start rddb in readonly mode
Diffstat (limited to 'src/rhlibrary')
-rw-r--r--src/rhlibrary/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rhlibrary/main.go b/src/rhlibrary/main.go
index 94a5a06..c9f3dde 100644
--- a/src/rhlibrary/main.go
+++ b/src/rhlibrary/main.go
@@ -88,7 +88,7 @@ func main() {
gtk.Init(nil)
- db, err := rddb.NewDB(rdconf.Get().(string))
+ db, err := rddb.NewDBReadOnly(rdconf.Get().(string))
if err != nil {
rhl.Println("Error initializing Rivdenll DB:", err)
return