make psh display reasonable output even if command being ran doesn't add a newline

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@21 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2007-10-30 14:33:52 +00:00
parent 60bab458b9
commit e8b65da915

View File

@ -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;
}