Commit 95b97c77 authored by Ad Schellevis's avatar Ad Schellevis Committed by Franco Fichtner

(configd) strip output on configctl command

parent 05900921
......@@ -108,11 +108,11 @@ if sys.argv[1] == '-m':
result=exec_config_cmd(exec_command=exec_command)
if result is None:
sys.exit(-1)
print('%s'%(result))
print('%s' % (result.strip()))
else:
# execute single command sequence
exec_command=' '.join(sys.argv[1:])
result=exec_config_cmd(exec_command=exec_command)
if result is None:
sys.exit(-1)
print('%s'%(result))
print('%s' % (result.strip()))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment