From 4c9efd42b1e62d99739b8641f96a79e547c05f58 Mon Sep 17 00:00:00 2001
From: lissav <lissav@8638fb3e-16cb-4fca-ae20-7b5d299a9bcd>
Date: Tue, 7 Feb 2012 15:49:14 +0000
Subject: [PATCH]  fix for 3485080 syspowerinterval not being honored

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11504 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
---
 xCAT-server/lib/perl/xCAT/PPC.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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};