diff --git a/perl-xCAT-2.0/xCAT/PPCcli.pm b/perl-xCAT-2.0/xCAT/PPCcli.pm index 1bcb1da8d..ab23490b3 100644 --- a/perl-xCAT-2.0/xCAT/PPCcli.pm +++ b/perl-xCAT-2.0/xCAT/PPCcli.pm @@ -374,7 +374,7 @@ sub chsysstate { ##################################### # Special case - return immediately ##################################### - if ( $cmd =~ /^hmcshutdown|reboot/ ) { + if ( $cmd =~ /^reboot$/ ) { my $ssh = @$exp[0]; $ssh->send( "$cmd\r" );