diff --git a/xCAT-server/lib/xcat/plugins/nodestat.pm b/xCAT-server/lib/xcat/plugins/nodestat.pm index 86ca6ed35..2201d7d2e 100644 --- a/xCAT-server/lib/xcat/plugins/nodestat.pm +++ b/xCAT-server/lib/xcat/plugins/nodestat.pm @@ -667,6 +667,7 @@ sub process_request_nmap { } $currnode=$tmpnode; $currnode =~ s/:$//; + $currnode =~ s/\n$//; my $nip;