X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=pppd%2Fplugins%2Fpassprompt.c;h=768901718e884d6654265817ee9c3ced1e2118e7;hb=f9f667ee187be5d34ac94f11bf366dd218191122;hp=6c2c8284fd535c79384e0fb389f2198bfa54f665;hpb=c898e34da6dfcaa9172c04dc27c02b371b90391d;p=ppp.git diff --git a/pppd/plugins/passprompt.c b/pppd/plugins/passprompt.c index 6c2c828..7689017 100644 --- a/pppd/plugins/passprompt.c +++ b/pppd/plugins/passprompt.c @@ -74,6 +74,8 @@ static int promptpass(char *user, char *passwd) if (red == 0) break; if (red < 0) { + if (errno == EINTR) + continue; error("Can't read secret from %s: %m", promptprog); readgood = -1; break;