maven-wagon-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r366071 - /maven/wagon/trunk/wagon-providers/wagon-ssh/src/main/java/org/apache/maven/wagon/providers/ssh/AbstractSshWagon.java
Date Thu, 05 Jan 2006 03:59:54 GMT
Author: brett
Date: Wed Jan  4 19:59:50 2006
New Revision: 366071

URL: http://svn.apache.org/viewcvs?rev=366071&view=rev
Log:
[WAGONSSH-23] ignore error about home directory not existing

Modified:
    maven/wagon/trunk/wagon-providers/wagon-ssh/src/main/java/org/apache/maven/wagon/providers/ssh/AbstractSshWagon.java

Modified: maven/wagon/trunk/wagon-providers/wagon-ssh/src/main/java/org/apache/maven/wagon/providers/ssh/AbstractSshWagon.java
URL: http://svn.apache.org/viewcvs/maven/wagon/trunk/wagon-providers/wagon-ssh/src/main/java/org/apache/maven/wagon/providers/ssh/AbstractSshWagon.java?rev=366071&r1=366070&r2=366071&view=diff
==============================================================================
--- maven/wagon/trunk/wagon-providers/wagon-ssh/src/main/java/org/apache/maven/wagon/providers/ssh/AbstractSshWagon.java
(original)
+++ maven/wagon/trunk/wagon-providers/wagon-ssh/src/main/java/org/apache/maven/wagon/providers/ssh/AbstractSshWagon.java
Wed Jan  4 19:59:50 2006
@@ -284,7 +284,11 @@
 
             if ( line != null )
             {
-                throw new CommandExecutionException( line );
+                // ignore this error
+                if ( !line.startsWith( "Could not chdir to home directory" ) )
+                {
+                    throw new CommandExecutionException( line );
+                }
             }
         }
         catch ( JSchException e )



---------------------------------------------------------------------
To unsubscribe, e-mail: wagon-commits-unsubscribe@maven.apache.org
For additional commands, e-mail: wagon-commits-help@maven.apache.org


Mime
View raw message