diff --git a/clusterman/commands/node.py b/clusterman/commands/node.py index dd50d5b..1ecd385 100644 --- a/clusterman/commands/node.py +++ b/clusterman/commands/node.py @@ -95,8 +95,8 @@ def exec(command): print("----- Node {} -----".format(ip)) if len(key_path)>0: output=subprocess.check_output(["ssh","-o", "StrictHostKeyChecking=no", "-i", CONF["ssh"]["key_path"],"{}@{}".format(user,ip), " ".join(command)]) - print(output.decode("utf-8")) + print(output.decode("utf-8"),end="") else: output=subprocess.check_output(["ssh","-o", "StrictHostKeyChecking=no", "{}@{}".format(user,ip), " ".join(command)]) - print(output.decode("utf-8")) + print(output.decode("utf-8"),end="")