diff --git a/xCAT-server-2.0/lib/xcat/plugins/nodestat.pm b/xCAT-server-2.0/lib/xcat/plugins/nodestat.pm index 667626bd3..f9d70eabb 100644 --- a/xCAT-server-2.0/lib/xcat/plugins/nodestat.pm +++ b/xCAT-server-2.0/lib/xcat/plugins/nodestat.pm @@ -46,6 +46,7 @@ sub installer_query { while (<$socket>) { $text.=$_; } + $text =~ s/\n.*//; return $text; close($socket); }