diff --git a/perl-xCAT/xCAT/Client.pm b/perl-xCAT/xCAT/Client.pm index b93e6c36b..104162b27 100644 --- a/perl-xCAT/xCAT/Client.pm +++ b/perl-xCAT/xCAT/Client.pm @@ -169,7 +169,7 @@ sub submit_request { #add ESC back foreach my $key (keys %$rsp) { if (ref($rsp->{$key}) eq 'ARRAY') { foreach my $text (@{$rsp->{$key}}) { $text =~ s/xxxxESCxxxx/\e/g; } } - else { $rsp->{$key} =~ s/xxxxESCxxxx/\r/g; } + else { $rsp->{$key} =~ s/xxxxESCxxxx/\e/g; } } $response='';