Amend previous commit of HDFS-3626: accidentally included a hunk from HADOOP-8621 in svn commit. Reverting that hunk

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1365818 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Todd Lipcon 2012-07-25 22:05:12 +00:00
parent d7fdcea8bf
commit 76ec7feb54
1 changed files with 1 additions and 1 deletions

View File

@ -611,7 +611,7 @@ public class FileUtil {
*/
public static int symLink(String target, String linkname) throws IOException{
String cmd = "ln -s " + target + " " + linkname;
Process p = Runtime.getRuntime().exec(new String[]{"ln","-s",target,linkname}, null);
Process p = Runtime.getRuntime().exec(cmd, null);
int returnVal = -1;
try{
returnVal = p.waitFor();