summaryrefslogtreecommitdiff
path: root/src/services
diff options
context:
space:
mode:
Diffstat (limited to 'src/services')
-rwxr-xr-xsrc/services/vyos-http-api-server3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/services/vyos-http-api-server b/src/services/vyos-http-api-server
index 32f8adc73..7b9e3d671 100755
--- a/src/services/vyos-http-api-server
+++ b/src/services/vyos-http-api-server
@@ -135,8 +135,9 @@ def configure():
# Don't give the details away to the outer world
error_msg = "An internal error occured. Check the logs for details."
+ finally:
+ lock.release()
- lock.release()
if status != 200:
return error(status, error_msg)
else: