karaf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbono...@apache.org
Subject git commit: [KARAF-2981] Force immediate stop of the SSH server
Date Tue, 05 Aug 2014 13:04:47 GMT
Repository: karaf
Updated Branches:
  refs/heads/karaf-3.0.x e5accff46 -> 23b95316a


[KARAF-2981] Force immediate stop of the SSH server


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

Branch: refs/heads/karaf-3.0.x
Commit: 23b95316a86faa01e3dcf95416e154e920b03263
Parents: e5accff
Author: Jean-Baptiste Onofré <jbonofre@apache.org>
Authored: Tue Aug 5 15:04:25 2014 +0200
Committer: Jean-Baptiste Onofré <jbonofre@apache.org>
Committed: Tue Aug 5 15:04:25 2014 +0200

----------------------------------------------------------------------
 .../src/main/java/org/apache/karaf/shell/ssh/SshServerFactory.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/karaf/blob/23b95316/shell/ssh/src/main/java/org/apache/karaf/shell/ssh/SshServerFactory.java
----------------------------------------------------------------------
diff --git a/shell/ssh/src/main/java/org/apache/karaf/shell/ssh/SshServerFactory.java b/shell/ssh/src/main/java/org/apache/karaf/shell/ssh/SshServerFactory.java
index 6d4233e..dcc26ae 100644
--- a/shell/ssh/src/main/java/org/apache/karaf/shell/ssh/SshServerFactory.java
+++ b/shell/ssh/src/main/java/org/apache/karaf/shell/ssh/SshServerFactory.java
@@ -78,7 +78,7 @@ public class SshServerFactory {
     public void stop() {
         if (start && server != null) {
             try {
-                server.stop();
+                server.stop(true);
             } catch (Exception e) {
                 LOGGER.info("Error stopping SSH server", e);
             } finally {


Mime
View raw message