author | dwmw2 <dwmw2> | 2002-09-20 13:06:34 (UTC) |
---|---|---|
committer | dwmw2 <dwmw2> | 2002-09-20 13:06:34 (UTC) |
commit | 37f294533b8288d341f8485649c7cc7d226dfc0d (patch) (unidiff) | |
tree | 70506c2a8da236ead92d985a75373264648c5cec | |
parent | cc311b771843c289fadbe9a301e432963b906208 (diff) | |
download | opie-37f294533b8288d341f8485649c7cc7d226dfc0d.zip opie-37f294533b8288d341f8485649c7cc7d226dfc0d.tar.gz opie-37f294533b8288d341f8485649c7cc7d226dfc0d.tar.bz2 |
Report ssh-agent failure and disable
-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 | |||
@@ -81,5 +81,8 @@ void SSHKeysApp::doRefreshListButton() | |||
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 | ||