summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xcompass-cobbler/fence_libvirt2
1 files changed, 1 insertions, 1 deletions
diff --git a/compass-cobbler/fence_libvirt b/compass-cobbler/fence_libvirt
index a59373b..53e235c 100755
--- a/compass-cobbler/fence_libvirt
+++ b/compass-cobbler/fence_libvirt
@@ -84,7 +84,7 @@ def no_cli():
opt.update({name: value})
except Exception:
continue
- try:
+
if opt["action"] and opt["hostname"]:
power_action(opt["action"], opt["hostname"],
opt["user"], opt["passwd"])