Module: check_mk
Branch: master
Commit: 0ecac68ccd5996785c5399cebcea3289ef9614dd
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=0ecac68ccd5996…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Wed May 25 14:49:18 2016 +0200
fixed incorrect function
---
modules/automation.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/automation.py b/modules/automation.py
index f3d467a..8ad0d59 100644
--- a/modules/automation.py
+++ b/modules/automation.py
@@ -460,7 +460,7 @@ def automation_restart(job = "restart"):
try:
backup_path = None
- if another_activation_is_in_progress():
+ if try_get_activation_lock():
raise MKAutomationError("Cannot activate changes. "
"Another activation process is currently in progresss")