diff --git a/xCAT-server/lib/perl/xCAT/PPC.pm b/xCAT-server/lib/perl/xCAT/PPC.pm index 69b9bda47..dfad85963 100644 --- a/xCAT-server/lib/perl/xCAT/PPC.pm +++ b/xCAT-server/lib/perl/xCAT/PPC.pm @@ -445,7 +445,7 @@ sub process_command { next; } - if( $num > 0 && $request->{op} =~ /^on$/ && $request->{fsp_api} == 1) { + if( $num > 0 && $request->{op} =~ /^on/ && $request->{fsp_api} == 1) { my $t_hash = @$hash[1]; my $one_key_in_thash = (keys %$t_hash)[0]; my $one_d = $t_hash->{$one_key_in_thash};