提交 c21b8be7 编写于 作者: K kohsuke

added a defensive error check.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20875 71c3de6d-444a-0410-be80-ed276b4c234a
上级 96ad13c4
......@@ -107,6 +107,12 @@ public class WindowsSlaveInstaller implements Callable<Void,RuntimeException>, A
}
final File dir = new File(rootDir);
if (!dir.exists()) {
JOptionPane.showMessageDialog(dialog,"Slave root directory '"+rootDir+"' doesn't exist",
Messages.WindowsInstallerLink_DisplayName(),
JOptionPane.ERROR_MESSAGE);
return;
}
try {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册