X-Git-Url: https://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=pppd%2Fplugins%2Fwinbind.c;h=0c395c34711af6cef39d3ac01e3603f7205ebbc5;hp=4638f46530469fa29812c5b45c56c06263d27745;hb=c319558b8cacad7d27f04c7d612e44b67f273434;hpb=0bc11fba4e57d6fabfdce20bef07d4dd4d6ef38c diff --git a/pppd/plugins/winbind.c b/pppd/plugins/winbind.c index 4638f46..0c395c3 100644 --- a/pppd/plugins/winbind.c +++ b/pppd/plugins/winbind.c @@ -443,7 +443,7 @@ unsigned int run_ntlm_auth(const char *username, return NOT_AUTHENTICATED; } - while ((wait(&status) == -1) && errno == EINTR) + while ((wait(&status) == -1) && errno == EINTR && !got_sigterm) ; if ((authenticated == AUTHENTICATED) && nt_key && !got_user_session_key) {