From 46dab0f99ae0bea6ae7f1b10bfe18309aa3f67c2 Mon Sep 17 00:00:00 2001 From: sakolish Date: Wed, 16 Apr 2008 17:37:27 +0000 Subject: [PATCH] Remove "hmcshutdown" command support - Line #377 git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1093 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT-2.0/xCAT/PPCcli.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" );