mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-17 05:52:26 +00:00
d'oh!
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1217 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
b46bf8b2b4
commit
8aedfcbbd4
1 file changed
+1
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user