From c1a8e1c7bae49d54aea73cd17a1aea47882c5564 Mon Sep 17 00:00:00 2001 From: Sirius Bakke Date: Thu, 10 May 2018 18:17:17 +0200 Subject: [PATCH] fix: Don't confuse SSH and shell error The string "debug1: key_parse_private_pem: PEM_read_PrivateKey failed" should not be match the rexex for shell errors. Fixes #58 --- src/libgui/SSHUnx.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libgui/SSHUnx.cpp b/src/libgui/SSHUnx.cpp index 26c7b3921..94300f633 100644 --- a/src/libgui/SSHUnx.cpp +++ b/src/libgui/SSHUnx.cpp @@ -86,7 +86,7 @@ SSHUnx::SSHUnx(QWidget *_par, shell_errors << "error in parsing address"; shell_errors << "can't set"; shell_errors << ".* malformed"; - shell_errors << ".* failed"; + shell_errors << ".*(?