summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libssh/kex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libssh/kex.c b/libssh/kex.c
index 7d169b75..a0dae95c 100644
--- a/libssh/kex.c
+++ b/libssh/kex.c
@@ -782,5 +782,5 @@ error:
publickey_free(host);
leave_function();
- return -1;
+ return rc;
}