From c1073c76996715cf8f309c62c0de0f144ff9d7c2 Mon Sep 17 00:00:00 2001 From: ligc Date: Mon, 13 Feb 2012 02:20:25 +0000 Subject: [PATCH] if site.vsftp is not set, default to no git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11561 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/AAsn.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/AAsn.pm b/xCAT-server/lib/xcat/plugins/AAsn.pm index e26df1a88..2b850b112 100644 --- a/xCAT-server/lib/xcat/plugins/AAsn.pm +++ b/xCAT-server/lib/xcat/plugins/AAsn.pm @@ -273,7 +273,7 @@ sub init_plugin print "\n" ; # make OK prints look better. Only need to do this for the 1st service. my @tmp = xCAT::Utils->get_site_attribute("vsftp"); - if ((!$tmp[0]) || ($tmp[0] !~ /0|NO|No|no|N|n/ )) { + if ($tmp[0] && ($tmp[0] !~ /0|NO|No|no|N|n/ )) { $rc = &setup_FTP(); # setup FTP } #enable the tftp-hpa for MN