summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/update.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/update.c b/src/update.c
index 1b14cb3c3..b1b59a237 100644
--- a/src/update.c
+++ b/src/update.c
@@ -87,7 +87,7 @@ void updateavailable(const char *const *argv) {
if (!f_noact) {
writedb(vb.buf,1,0);
- unlockdatabase(admindir);
+ unlockdatabase();
}
if (cipaction->arg != act_avclear)