Module: check_mk
Branch: master
Commit: 2c92f3278374f2e0f3af9ec38a8e698a46edc934
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=2c92f3278374f2…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Mon Oct 3 22:34:04 2016 +0200
livedump: replace print with sys.stdout.write
---
bin/livedump | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/bin/livedump b/bin/livedump
index bfcd5f1..6b0ef15 100755
--- a/bin/livedump
+++ b/bin/livedump
@@ -378,11 +378,11 @@ try:
for o, a in opts:
if o in [ '-C', '--config' ]:
if opt_mark_mode:
- print "config", omd_site()
+ sys.stdout.write("config %s\n" % omd_site())
livedump_config()
sys.exit(0)
if opt_mark_mode:
- print "status"
+ sys.stdout.write("status\n")
livedump_state()
except Exception, e: