diff options
author | Christian Kandeler <[email protected]> | 2012-06-08 08:23:32 +0200 |
---|---|---|
committer | hjk <[email protected]> | 2012-06-08 10:12:11 +0200 |
commit | 303e67304e42cc419b735ca609104ad4ed386d54 (patch) | |
tree | 2641f93d25319c5712ad1abeece321667277065e /src/plugins/remotelinux/remotelinuxpackageinstaller.cpp | |
parent | 69a437873a88d058b89770b5cfae35aa8b75bc2c (diff) |
SSH: Name SshRemoteProcess::ExitStatus values like the QProcess ones.
(We cannot use QProcess::ExitStatus itself, because it does not contain
FailedToStart.)
Change-Id: I83ed6de621e2693e539562cd8e56ef478fa4fcb9
Reviewed-by: hjk <[email protected]>
Diffstat (limited to 'src/plugins/remotelinux/remotelinuxpackageinstaller.cpp')
-rw-r--r-- | src/plugins/remotelinux/remotelinuxpackageinstaller.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/remotelinux/remotelinuxpackageinstaller.cpp b/src/plugins/remotelinux/remotelinuxpackageinstaller.cpp index 3a060d21856..1ee09be1459 100644 --- a/src/plugins/remotelinux/remotelinuxpackageinstaller.cpp +++ b/src/plugins/remotelinux/remotelinuxpackageinstaller.cpp @@ -112,7 +112,7 @@ void AbstractRemoteLinuxPackageInstaller::handleInstallationFinished(int exitSta if (!d->isRunning) return; - if (exitStatus != SshRemoteProcess::ExitedNormally || d->installer->processExitCode() != 0) { + if (exitStatus != SshRemoteProcess::NormalExit || d->installer->processExitCode() != 0) { emit finished(tr("Installing package failed.")); } else if (!errorString().isEmpty()) { emit finished(errorString()); |