From a5cf6f194d79f67a99263cf7d6f07d41b79d5239 Mon Sep 17 00:00:00 2001 From: Christian Kandeler Date: Fri, 14 Dec 2018 10:12:59 +0100 Subject: SSH: Fix exit status/exit code interpretation A "regular" exit of the ssh binary with exit code 255 means that the remote process has crashed. Change-Id: I82e6e44079041459e78e4f8f7e7b6e5cbcaa6c44 Reviewed-by: Ulf Hermann --- src/plugins/projectexplorer/devicesupport/sshdeviceprocess.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins/projectexplorer/devicesupport/sshdeviceprocess.h') diff --git a/src/plugins/projectexplorer/devicesupport/sshdeviceprocess.h b/src/plugins/projectexplorer/devicesupport/sshdeviceprocess.h index 7bbe942354..8c1da7cf55 100644 --- a/src/plugins/projectexplorer/devicesupport/sshdeviceprocess.h +++ b/src/plugins/projectexplorer/devicesupport/sshdeviceprocess.h @@ -60,7 +60,7 @@ private: void handleConnectionError(); void handleDisconnected(); void handleProcessStarted(); - void handleProcessFinished(); + void handleProcessFinished(const QString &error); void handleStdout(); void handleStderr(); void handleKillOperationFinished(const QString &errorMessage); -- cgit v1.2.3