From 76c3cb18ecd0a6c4f9c64348f87c523eed5f85e9 Mon Sep 17 00:00:00 2001 From: lissav Date: Tue, 13 May 2008 18:10:52 +0000 Subject: [PATCH] Remove symlink git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1374 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server-2.0/lib/xcat/plugins/FTPsn.pm | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/xCAT-server-2.0/lib/xcat/plugins/FTPsn.pm b/xCAT-server-2.0/lib/xcat/plugins/FTPsn.pm index 63851aef6..c05c2dc82 100644 --- a/xCAT-server-2.0/lib/xcat/plugins/FTPsn.pm +++ b/xCAT-server-2.0/lib/xcat/plugins/FTPsn.pm @@ -39,7 +39,7 @@ sub handled_commands my @nodeipaddr = @nodeinfo; # get ip addresses my $service = "ftpserver"; $rc = xCAT::Utils->isServiceReq($nodename, $service, \@nodeipaddr); - if ($rc == 0) + if ($rc == 1) { $rc = &setup_FTP(); # setup vsftpd @@ -121,9 +121,6 @@ sub setup_FTP xCAT::MsgUtils->message("S", "Error from command:$cmd"); } - my $linkdir=$installdir; - $linkdir .=$installdir; - symlink $installdir, $linkdir; # restart tftp