From bd2b362ec2c487d2555b99f4b30977b0438bd72c Mon Sep 17 00:00:00 2001 From: phamt Date: Tue, 10 Nov 2009 16:27:40 +0000 Subject: [PATCH] Change handled_commands() for rpower. git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4541 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/zvm.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/xCAT-server/lib/xcat/plugins/zvm.pm b/xCAT-server/lib/xcat/plugins/zvm.pm index 12d74326c..d0cd20e52 100644 --- a/xCAT-server/lib/xcat/plugins/zvm.pm +++ b/xCAT-server/lib/xcat/plugins/zvm.pm @@ -18,6 +18,7 @@ use xCAT::Table; use xCAT::Utils; use Getopt::Long; use strict; + # use warnings; # If this line is not included, you get: @@ -36,7 +37,7 @@ use strict; sub handled_commands { return { - rpower => 'nodehm:mgt', + rpower => 'nodehm:power,mgt', rinv => 'nodehm:mgt', mkvm => 'nodehm:mgt', rmvm => 'nodehm:mgt', @@ -392,7 +393,7 @@ sub process_request { foreach (@children) { waitpid( $_, 0 ); } - + return; }