fence-agents: master - fencing: Error messages should be send to STDERR by default
Marek GrĂ¡c
marx at fedoraproject.org
Wed Jan 8 16:04:18 UTC 2014
Gitweb: http://git.fedorahosted.org/git/?p=fence-agents.git;a=commitdiff;h=3f7eed8b8b51e41b6dceab0a36886a0027141d12
Commit: 3f7eed8b8b51e41b6dceab0a36886a0027141d12
Parent: 806d293da6ea7d5e5259faf806e17b40c45ae536
Author: Marek 'marx' Grac <mgrac at redhat.com>
AuthorDate: Wed Jan 8 17:02:47 2014 +0100
Committer: Marek 'marx' Grac <mgrac at redhat.com>
CommitterDate: Wed Jan 8 17:02:47 2014 +0100
fencing: Error messages should be send to STDERR by default
Previously, it was sent to STDERR only when debug file was not set and --verbose was not set.
---
fence/agents/lib/fencing.py.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/fence/agents/lib/fencing.py.py b/fence/agents/lib/fencing.py.py
index ad5dd10..5410176 100644
--- a/fence/agents/lib/fencing.py.py
+++ b/fence/agents/lib/fencing.py.py
@@ -716,7 +716,7 @@ def check_input(device_opt, opt):
except IOError:
fail_usage("Failed: Unable to create file " + options["--debug-file"])
- if options.has_key("--verbose") and options.has_key("debug_fh") == 0:
+ if options.has_key("debug_fh") == 0:
options["debug_fh"] = sys.stderr
if options.has_key("--snmp-priv-passwd-script"):
More information about the cluster-commits
mailing list