[Swift-commit] cog r3665

swift at ci.uchicago.edu swift at ci.uchicago.edu
Tue May 21 15:40:07 CDT 2013


------------------------------------------------------------------------
r3665 | hategan | 2013-05-21 15:38:15 -0500 (Tue, 21 May 2013) | 1 line

parsing output of command line tools is a bad idea...
------------------------------------------------------------------------
Index: modules/provider-ssh/src/org/globus/cog/abstraction/impl/sshcl/execution/SSHCLProxyForwarder.java
===================================================================
--- modules/provider-ssh/src/org/globus/cog/abstraction/impl/sshcl/execution/SSHCLProxyForwarder.java	(revision 3664)
+++ modules/provider-ssh/src/org/globus/cog/abstraction/impl/sshcl/execution/SSHCLProxyForwarder.java	(working copy)
@@ -164,7 +164,9 @@
             }
         }
         catch (IOException e) {
-            if (e.getMessage() == null || !e.getMessage().contains("No such file or directory")) {
+            if (e.getMessage() == null 
+            		|| (!e.getMessage().contains("No such file or directory") 
+            				&& !e.getMessage().contains("No match"))) {
                 throw e;
             }
             else {



More information about the Swift-commit mailing list