You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by ra...@apache.org on 2014/08/13 23:27:29 UTC

git commit: have to remove not condition

Repository: airavata
Updated Branches:
  refs/heads/master 3a0d21f27 -> ff009a11f


have to remove not condition

Project: http://git-wip-us.apache.org/repos/asf/airavata/repo
Commit: http://git-wip-us.apache.org/repos/asf/airavata/commit/ff009a11
Tree: http://git-wip-us.apache.org/repos/asf/airavata/tree/ff009a11
Diff: http://git-wip-us.apache.org/repos/asf/airavata/diff/ff009a11

Branch: refs/heads/master
Commit: ff009a11f653f15a828017e7e726d55ac10c0826
Parents: 3a0d21f
Author: raminder <ra...@apache.org>
Authored: Wed Aug 13 17:27:16 2014 -0400
Committer: raminder <ra...@apache.org>
Committed: Wed Aug 13 17:27:16 2014 -0400

----------------------------------------------------------------------
 .../org/apache/airavata/gsi/ssh/impl/GSISSHAbstractCluster.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/ff009a11/tools/gsissh/src/main/java/org/apache/airavata/gsi/ssh/impl/GSISSHAbstractCluster.java
----------------------------------------------------------------------
diff --git a/tools/gsissh/src/main/java/org/apache/airavata/gsi/ssh/impl/GSISSHAbstractCluster.java b/tools/gsissh/src/main/java/org/apache/airavata/gsi/ssh/impl/GSISSHAbstractCluster.java
index a2336d5..1cc2df6 100644
--- a/tools/gsissh/src/main/java/org/apache/airavata/gsi/ssh/impl/GSISSHAbstractCluster.java
+++ b/tools/gsissh/src/main/java/org/apache/airavata/gsi/ssh/impl/GSISSHAbstractCluster.java
@@ -461,7 +461,7 @@ public class GSISSHAbstractCluster implements Cluster {
         String stdErrorString = jobIDReaderCommandOutput.getStdErrorString();
 
         if ((stdOutputString == null || "".equals(stdOutputString)) &&
-                ((stdErrorString != null) && !(stdErrorString.contains(command)))) {
+                ((stdErrorString != null) && (stdErrorString.contains(command)))) {
             log.error("Standard Error output : " + stdErrorString);
             throw new SSHApiException(errorMsg + stdErrorString);
         }