summaryrefslogtreecommitdiff
path: root/tests/manual/ssh/shell/shell.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/manual/ssh/shell/shell.cpp')
-rw-r--r--tests/manual/ssh/shell/shell.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/manual/ssh/shell/shell.cpp b/tests/manual/ssh/shell/shell.cpp
index 02d6311427..729e34c655 100644
--- a/tests/manual/ssh/shell/shell.cpp
+++ b/tests/manual/ssh/shell/shell.cpp
@@ -110,7 +110,7 @@ void Shell::handleChannelClosed(int exitStatus)
{
std::cerr << "Shell closed. Exit status was " << exitStatus << ", exit code was "
<< m_shell->exitCode() << "." << std::endl;
- qApp->exit(exitStatus == SshRemoteProcess::ExitedNormally && m_shell->exitCode() == 0
+ qApp->exit(exitStatus == SshRemoteProcess::NormalExit && m_shell->exitCode() == 0
? EXIT_SUCCESS : EXIT_FAILURE);
}