13 lines
888 B
Diff
13 lines
888 B
Diff
diff -urpN gnome-control-center-3.30.1.orig/panels/user-accounts/run-passwd.c gnome-control-center-3.30.1/panels/user-accounts/run-passwd.c
|
|
--- gnome-control-center-3.30.1.orig/panels/user-accounts/run-passwd.c 2019-12-28 23:02:47.839960163 +0800
|
|
+++ gnome-control-center-3.30.1/panels/user-accounts/run-passwd.c 2019-12-28 23:03:41.180636928 +0800
|
|
@@ -404,7 +404,7 @@ io_watch_stdout (GIOChannel *source, GIO
|
|
|
|
if (is_string_complete (str->str, "assword: ", "failure", "wrong", "error", NULL)) {
|
|
|
|
- if (strstr (str->str, "assword: ") != NULL) {
|
|
+ if (strstr (str->str, "assword: ") != NULL && strstr (str->str, "Current") == NULL) {
|
|
/* Authentication successful */
|
|
|
|
passwd_handler->backend_state = PASSWD_STATE_NEW;
|