summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2006-08-21 21:08:15 +0000
committerNarayan Desai <desai@mcs.anl.gov>2006-08-21 21:08:15 +0000
commit46b5982281259323718274fd858946eeaac0e3a7 (patch)
tree19deeb70ea99d53403357a67807f44708565056a /src
parent8144de3d7b480aa723bd1ff06c4145da63db5472 (diff)
downloadbcfg2-46b5982281259323718274fd858946eeaac0e3a7.tar.gz
bcfg2-46b5982281259323718274fd858946eeaac0e3a7.tar.bz2
bcfg2-46b5982281259323718274fd858946eeaac0e3a7.zip
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
Diffstat (limited to 'src')
-rwxr-xr-xsrc/sbin/bcfg22
1 files changed, 1 insertions, 1 deletions
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: