summaryrefslogtreecommitdiff
path: root/tools/merge_dist.py
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordu.net>2016-12-03 14:50:16 +0100
committerLinus Nordberg <linus@nordu.net>2016-12-03 14:50:16 +0100
commitd1fc3a48ff50f85ff5e3098edb3c0774d110af23 (patch)
tree5791f32b58a568e74c784a9804bae2fcee0e1dbc /tools/merge_dist.py
parentb13432988901f1419a04a0f2f4c411bdd3267999 (diff)
Open permdb read-only in merge_backup and merge_dist.
Diffstat (limited to 'tools/merge_dist.py')
-rwxr-xr-xtools/merge_dist.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/merge_dist.py b/tools/merge_dist.py
index d81f0a1..f1bdaf9 100755
--- a/tools/merge_dist.py
+++ b/tools/merge_dist.py
@@ -218,7 +218,8 @@ def main():
args, config, localconfig = parse_args()
paths = localconfig["paths"]
mergedb = paths["mergedb"]
- chainsdb = perm(localconfig.get("dbbackend", "filedb"), mergedb + "/chains")
+ chainsdb = perm(localconfig.get("dbbackend", "filedb"), mergedb + "/chains",
+ write_enabled=False)
lockfile = mergedb + "/.merge_dist.lock"
loginit(args, "merge_dist.log")