diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2006-08-21 21:08:15 +0000 |
---|---|---|
committer | Narayan Desai <desai@mcs.anl.gov> | 2006-08-21 21:08:15 +0000 |
commit | 46b5982281259323718274fd858946eeaac0e3a7 (patch) | |
tree | 19deeb70ea99d53403357a67807f44708565056a /src/sbin | |
parent | 8144de3d7b480aa723bd1ff06c4145da63db5472 (diff) | |
download | bcfg2-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/sbin')
-rwxr-xr-x | src/sbin/bcfg2 | 2 |
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: |