summaryrefslogtreecommitdiffstats
path: root/gearman
diff options
context:
space:
mode:
authorBjörn Geiger2011-08-23 16:57:17 +0200
committerBjörn Geiger2011-08-23 16:57:17 +0200
commit4ecab6dc248e1a82f296f2ea01b6b577feb15ad7 (patch)
treecc351ed19785136291124f5b9962c6377d1d64cb /gearman
parentkleine Korrektur (diff)
downloadpoolctrl-4ecab6dc248e1a82f296f2ea01b6b577feb15ad7.tar.gz
poolctrl-4ecab6dc248e1a82f296f2ea01b6b577feb15ad7.tar.xz
poolctrl-4ecab6dc248e1a82f296f2ea01b6b577feb15ad7.zip
weitere Korrektur
Diffstat (limited to 'gearman')
-rw-r--r--gearman/controllerWorker/ControllerWorker/Boot.java4
-rw-r--r--gearman/controllerWorker/ControllerWorker/Shutdown.java2
2 files changed, 3 insertions, 3 deletions
diff --git a/gearman/controllerWorker/ControllerWorker/Boot.java b/gearman/controllerWorker/ControllerWorker/Boot.java
index d2e4917..420af04 100644
--- a/gearman/controllerWorker/ControllerWorker/Boot.java
+++ b/gearman/controllerWorker/ControllerWorker/Boot.java
@@ -732,7 +732,7 @@ public class Boot extends Thread {
allFinished = true;
} else if (clientStatus == 29) {
allFinished = true;
- this.error = true;
+ error = true;
} else {
allFinished = false;
}
@@ -884,7 +884,7 @@ public class Boot extends Thread {
}
public Boolean isFinished() {
- return finished;
+ return finished && !error;
}
public Boolean isFinishedWithErrors() {
diff --git a/gearman/controllerWorker/ControllerWorker/Shutdown.java b/gearman/controllerWorker/ControllerWorker/Shutdown.java
index 78ee0c0..a2a4563 100644
--- a/gearman/controllerWorker/ControllerWorker/Shutdown.java
+++ b/gearman/controllerWorker/ControllerWorker/Shutdown.java
@@ -561,7 +561,7 @@ public class Shutdown extends Thread {
}
public Boolean isFinished() {
- return finished;
+ return finished && !error;
}
public Boolean isFinishedWithErrors() {