[icinga-checkins] icinga.org: icinga-api/mhein/default: * Fixed pipe writer

git at icinga.org git at icinga.org
Tue Sep 7 22:54:01 CEST 2010


Module: icinga-api
Branch: mhein/default
Commit: 964efa51145820df41f4f499086926f664a29ddd
URL:    https://git.icinga.org/?p=icinga-api.git;a=commit;h=964efa51145820df41f4f499086926f664a29ddd

Author: Marius Hein <marius.hein at netways.de>
Date:   Tue Sep  7 22:53:30 2010 +0200

* Fixed pipe writer

---

 objects/command/IcingaApiCommandSendPipe.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/objects/command/IcingaApiCommandSendPipe.php b/objects/command/IcingaApiCommandSendPipe.php
index cad7506..adf39b9 100644
--- a/objects/command/IcingaApiCommandSendPipe.php
+++ b/objects/command/IcingaApiCommandSendPipe.php
@@ -98,7 +98,7 @@ class IcingaApiCommandSendPipe
 			}
 			
 			if (count($tarry)) {
-				return implode(chr(10), $tarry);
+				return implode(chr(10), $tarry). chr(10);
 			}
 			
 			throw new IcingaApiCommandSendException('Commandstring is empty');





More information about the icinga-checkins mailing list