summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/sshkeys/sshkeys.cpp5
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
@@ -79,9 +79,12 @@ void SSHKeysApp::doRefreshListButton()
79 if (!ret) { 79 if (!ret) {
80 log_text(tr("Error running ssh-add")); 80 log_text(tr("Error running ssh-add"));
81 return; 81 return;
82 } 82 }
83 83 if (sshadd_process.exitStatus() == 2) {
84 log_text(tr("Connection to ssh-agent failed"));
85 setEnabled(FALSE);
86 }
84} 87}
85 88
86void SSHKeysApp::get_list_keys_output(OProcess *proc, char *buffer, int buflen) 89void SSHKeysApp::get_list_keys_output(OProcess *proc, char *buffer, int buflen)
87{ 90{