From e4ea2fa75ce880f16f53af3aab741432285738d8 Mon Sep 17 00:00:00 2001 From: ssogabe Date: Sat, 27 Jul 2013 17:06:36 +0900 Subject: [PATCH] fixed Compilation failure --- core/src/main/java/hudson/FilePath.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/hudson/FilePath.java b/core/src/main/java/hudson/FilePath.java index 2bb8065469..e072d24923 100644 --- a/core/src/main/java/hudson/FilePath.java +++ b/core/src/main/java/hudson/FilePath.java @@ -2456,7 +2456,7 @@ public final class FilePath implements Serializable { * (User's home directory in the Unix sense) of the given channel. */ public static FilePath getHomeDirectory(VirtualChannel ch) throws InterruptedException, IOException { - ch.call(new Callable() { + return ch.call(new Callable() { public FilePath call() throws IOException { return new FilePath(new File(System.getProperty("user.home"))); }