diff --git a/perl-xCAT/xCAT/Client.pm b/perl-xCAT/xCAT/Client.pm index d6bfda20e..39c2fed4a 100644 --- a/perl-xCAT/xCAT/Client.pm +++ b/perl-xCAT/xCAT/Client.pm @@ -158,7 +158,7 @@ sub submit_request { my $cleanexit=0; while (<$client>) { $response .= $_; - if ($response =~ m/<\/xcatresponse>/) { + if (m/<\/xcatresponse>/) { $rsp = XMLin($response,SuppressEmpty=>undef,ForceArray=>1); $response=''; $callback->($rsp);