diff options
Diffstat (limited to 'src/plugins/remotelinux/remotelinuxpackageinstaller.cpp')
-rw-r--r-- | src/plugins/remotelinux/remotelinuxpackageinstaller.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/plugins/remotelinux/remotelinuxpackageinstaller.cpp b/src/plugins/remotelinux/remotelinuxpackageinstaller.cpp index e321c12c4d3..425a5fb256f 100644 --- a/src/plugins/remotelinux/remotelinuxpackageinstaller.cpp +++ b/src/plugins/remotelinux/remotelinuxpackageinstaller.cpp @@ -104,13 +104,12 @@ void AbstractRemoteLinuxPackageInstaller::handleInstallationFinished(int exitSta if (!d->isRunning) return; - if (exitStatus != SshRemoteProcess::NormalExit || d->installer->processExitCode() != 0) { + if (exitStatus != SshRemoteProcess::NormalExit || d->installer->processExitCode() != 0) emit finished(tr("Installing package failed.")); - } else if (!errorString().isEmpty()) { + else if (!errorString().isEmpty()) emit finished(errorString()); - } else { + else emit finished(); - } setFinished(); } |