From 46b5982281259323718274fd858946eeaac0e3a7 Mon Sep 17 00:00:00 2001 From: Narayan Desai Date: Mon, 21 Aug 2006 21:08:15 +0000 Subject: strip out newlines on the client side for probe execution git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2082 ce84e21b-d406-0410-9b95-82705330c041 --- src/sbin/bcfg2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sbin/bcfg2 b/src/sbin/bcfg2 index 8cfc7ed37..299807b18 100755 --- a/src/sbin/bcfg2 +++ b/src/sbin/bcfg2 @@ -121,7 +121,7 @@ class Client: script.write(probe.text) script.close() os.chmod(script.name, 0755) - ret.text = os.popen(script.name).read() + ret.text = os.popen(script.name).read().strip() finally: os.unlink(script.name) except: -- cgit v1.2.3-1-g7c22