summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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: