diff --git a/perl-xCAT/xCAT/PPC.pm b/perl-xCAT/xCAT/PPC.pm index 414a00cd5..81e7edf0d 100644 --- a/perl-xCAT/xCAT/PPC.pm +++ b/perl-xCAT/xCAT/PPC.pm @@ -127,7 +127,7 @@ sub process_command { my $check=0; my $newstat; if ($request->{command} eq 'rpower') { - my $subcommand=$request->{arg}->[0]; + my $subcommand=$request->{op}; if (($subcommand ne 'stat') && ($subcommand ne 'status') && ($subcommand ne 'state')) { $check=1; my $noderange = $request->{node};