summaryrefslogtreecommitdiff
path: root/src/cli_new.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cli_new.c')
-rw-r--r--src/cli_new.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/cli_new.c b/src/cli_new.c
index 87f8e8b..2db7996 100644
--- a/src/cli_new.c
+++ b/src/cli_new.c
@@ -461,7 +461,10 @@ get_config_lock()
} else if (fd != -1) {
close(fd);
}
- release_config_lock();
+ //code below will cause a concurrent commit to release lock on failure, and
+ //therefore, allow the concurrent to proceed the second time.
+ //lock can be forced via commit flag instead.
+ // release_config_lock();
}
return ret;
}