mirror of
http://galexander.org/git/simplesshd.git
synced 2025-03-01 07:22:02 +00:00
and now it works, even will create a new ssh directory from scratch
This commit is contained in:
parent
31fd0b37d0
commit
4eecabf241
@ -67,12 +67,14 @@ public class AuthKeys extends Activity {
|
||||
|
||||
private void save_authtext() {
|
||||
String s = get_authtext();
|
||||
if ((authtext_orig != null) && (s != null) &&
|
||||
!s.equals(authtext_orig)) {
|
||||
if ((s != null) && ((authtext_orig != null) ||
|
||||
!s.equals(authtext_orig))) {
|
||||
Intent i = new Intent(this, AuthKeysSave.class);
|
||||
i.putExtra("s", s);
|
||||
startService(i);
|
||||
}
|
||||
/* so that we won't save it again */
|
||||
authtext_orig = null;
|
||||
}
|
||||
|
||||
private String get_authtext() {
|
||||
|
Loading…
Reference in New Issue
Block a user