提交 a574cd95 编写于 作者: S Stephen Connolly

Merge pull request #1678 from stephenc/jenkins-28115

[FIXED JENKINS-28115] Division by zero in Executor.getProgress()
...@@ -642,7 +642,7 @@ public class Executor extends Thread implements ModelObject { ...@@ -642,7 +642,7 @@ public class Executor extends Thread implements ModelObject {
} finally { } finally {
lock.readLock().unlock(); lock.readLock().unlock();
} }
if (d < 0) { if (d <= 0) {
return -1; return -1;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册