when the slave is offline, don't crap out.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9612 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
kohsuke committed 2008-05-23 17:43:09 +00:00
1 parent fc7a82da8c
commit f70901a7c6
1 file changed
+5
@@ -334,6 +334,11 @@ public abstract class FormFieldValidator {
try {
FilePath ws = getBaseDirectory(p);
if(ws==null) {// can't check
ok();
return;
}
if(!ws.exists()) {// no workspace. can't check
ok();
return;