From 158b578de97f4aa6d6e04d1b69702c178655c71e Mon Sep 17 00:00:00 2001 From: lissav Date: Tue, 18 Oct 2011 12:32:51 +0000 Subject: [PATCH] change require RemoteShell git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10826 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/Utils.pm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/perl-xCAT/xCAT/Utils.pm b/perl-xCAT/xCAT/Utils.pm index 7ed63578a..fedc3e404 100644 --- a/perl-xCAT/xCAT/Utils.pm +++ b/perl-xCAT/xCAT/Utils.pm @@ -27,7 +27,7 @@ use Symbol; use Digest::SHA1 qw/sha1/; use IPC::Open3; use IO::Select; -use xCAT::RemoteShellExp; +require xCAT::RemoteShellExp; use warnings "all"; require xCAT::InstUtils; require xCAT::NetworkUtils; @@ -3627,11 +3627,11 @@ sub get_ServiceNode # command from the MN to CEC/Frame direclty, not through the service node if specified. # The $onlymaster is set in preprocess_request() in PPC.pm # It will not affect the others - if( defined($onlymaster) && $onlymaster == 1) { + if (defined($onlymaster) && $onlymaster == 1) { $snattribute = "xcatmaster"; - } else { + } else { $snattribute = "servicenode"; - } + } } else # Node