diff --git a/xCAT-client-2.0/usr/bin/psh b/xCAT-client-2.0/usr/bin/psh index feffbf476..1648b0f56 100755 --- a/xCAT-client-2.0/usr/bin/psh +++ b/xCAT-client-2.0/usr/bin/psh @@ -95,7 +95,8 @@ sub processoutput { #This way, one arbiter handles output, no interrupting close($readyh); next; } - print $nodehdl{$readyh}.": ".$line; + chomp($line); + print $nodehdl{$readyh}.": ".$line."\n"; } return $rc; }