Repository: airavata
Updated Branches:
  refs/heads/master 764a23933 -> 732da594f


Fixed AIRAVATA-1647.

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

Branch: refs/heads/master
Commit: 732da594f0fc7fefbf1c0c53946db4cf035ef7db
Parents: 764a239
Author: raminder <[email protected]>
Authored: Thu Apr 2 15:34:16 2015 -0400
Committer: raminder <[email protected]>
Committed: Thu Apr 2 15:34:16 2015 -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/732da594/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 cf9f931..3d18013 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
@@ -675,7 +675,7 @@ public class GSISSHAbstractCluster implements Cluster {
         String[] list = command.split(File.separator);
         command = list[list.length - 1];
         // We are checking for stderr containing the command issued. Thus 
ignores the verbose logs in stderr.
-        if (stdErrorString != null && stdErrorString.contains(command) && 
!stdErrorString.contains("Warning")) {
+        if (stdErrorString != null && stdErrorString.contains(command.trim()) 
&& !stdErrorString.contains("Warning")) {
             log.error("Standard Error output : " + stdErrorString);
             throw new SSHApiException(errorMsg + "\n\r StandardOutput: "+ 
stdOutputString + "\n\r StandardError: "+ stdErrorString);
         }else if(stdOutputString.contains("error")){

Reply via email to