summaryrefslogtreecommitdiff
path: root/src/plugins/remotelinux/sshkeydeployer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/remotelinux/sshkeydeployer.cpp')
-rw-r--r--src/plugins/remotelinux/sshkeydeployer.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/remotelinux/sshkeydeployer.cpp b/src/plugins/remotelinux/sshkeydeployer.cpp
index fcdd31a8dd..4dd3d4ae6c 100644
--- a/src/plugins/remotelinux/sshkeydeployer.cpp
+++ b/src/plugins/remotelinux/sshkeydeployer.cpp
@@ -88,13 +88,13 @@ void SshKeyDeployer::handleConnectionFailure()
void SshKeyDeployer::handleKeyUploadFinished(int exitStatus)
{
Q_ASSERT(exitStatus == SshRemoteProcess::FailedToStart
- || exitStatus == SshRemoteProcess::KilledBySignal
- || exitStatus == SshRemoteProcess::ExitedNormally);
+ || exitStatus == SshRemoteProcess::CrashExit
+ || exitStatus == SshRemoteProcess::NormalExit);
const int exitCode = d->deployProcess.processExitCode();
const QString errorMsg = d->deployProcess.processErrorString();
cleanup();
- if (exitStatus == SshRemoteProcess::ExitedNormally && exitCode == 0)
+ if (exitStatus == SshRemoteProcess::NormalExit && exitCode == 0)
emit finishedSuccessfully();
else
emit error(tr("Key deployment failed: %1.").arg(errorMsg));