Fix bug, negative logic :(

Project: http://git-wip-us.apache.org/repos/asf/trafficserver-qa/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver-qa/commit/43abdb07
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver-qa/tree/43abdb07
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver-qa/diff/43abdb07

Branch: refs/heads/master
Commit: 43abdb0708654ab4dc634a2a11b54517a2c42406
Parents: 84280a8
Author: Thomas Jackson <[email protected]>
Authored: Wed Jan 14 16:29:26 2015 -0800
Committer: Thomas Jackson <[email protected]>
Committed: Wed Jan 14 16:29:26 2015 -0800

----------------------------------------------------------------------
 tsqa/environment.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver-qa/blob/43abdb07/tsqa/environment.py
----------------------------------------------------------------------
diff --git a/tsqa/environment.py b/tsqa/environment.py
index efe0c1b..3deb224 100644
--- a/tsqa/environment.py
+++ b/tsqa/environment.py
@@ -353,7 +353,7 @@ class Environment:
         if self.cop is None:
             return False
         self.cop.poll()
-        return self.cop.returncode is not None  # its running if it hasn't died
+        return self.cop.returncode is None  # its running if it hasn't died
 
 
 if __name__ == '__main__':

Reply via email to