-rw-r--r-- | noncore/settings/sshkeys/sshkeys.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/noncore/settings/sshkeys/sshkeys.cpp b/noncore/settings/sshkeys/sshkeys.cpp index 701356a..3b4dce6 100644 --- a/noncore/settings/sshkeys/sshkeys.cpp +++ b/noncore/settings/sshkeys/sshkeys.cpp @@ -82,3 +82,6 @@ void SSHKeysApp::doRefreshListButton() } - + if (sshadd_process.exitStatus() == 2) { + log_text(tr("Connection to ssh-agent failed")); + setEnabled(FALSE); + } } |