X-Git-Url: https://granicus.if.org/sourcecode?a=blobdiff_plain;f=modules%2Fpam_unix%2Fpam_unix_acct.c;h=08cc750f81585e55114a04aa224d490b757f9257;hb=8575828fae141d5f918fca7f123cc96f6793ac11;hp=4e11934073c45917295e12ff2735318efe2dda10;hpb=5182ea70c8425d302c31386a325b869fcfef9671;p=linux-pam diff --git a/modules/pam_unix/pam_unix_acct.c b/modules/pam_unix/pam_unix_acct.c index 4e119340..08cc750f 100644 --- a/modules/pam_unix/pam_unix_acct.c +++ b/modules/pam_unix/pam_unix_acct.c @@ -130,7 +130,8 @@ int _unix_run_verify_binary(pam_handle_t *pamh, unsigned int ctrl, /* should not get here: exit with error */ D(("helper binary is not available")); printf("-1\n"); - exit(PAM_AUTHINFO_UNAVAIL); + fflush(stdout); + _exit(PAM_AUTHINFO_UNAVAIL); } else { close(fds[1]); if (child > 0) {