git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1217 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
kohsuke committed 2006-11-21 15:11:20 +00:00
1 parent b46bf8b2b4
commit 8aedfcbbd4
1 file changed
+1 -1
+1 -1
View File
@@ -66,7 +66,7 @@ public final class Slave implements Node {
this.numExecutors = numExecutors;
this.mode = mode;
if (!name.equals(""))
if (name.equals(""))
throw new FormException("Invalid slave configuration. Name is empty", null);
if (!localFS.exists())
throw new FormException("Invalid slave configuration for " + name + ". No such directory exists: " + localFS, null);