openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/shadow/4.6-r0/shadow-4.6/src/chsh.c
static /*@noreturn@*/ void fail_exit(int code)
{
    if (pw_locked)
    {
        if (pw_unlock() == 0)
        {
            fprintf(stderr, _("%s: failed to unlock %s\n"), Prog, pw_dbname());
            SYSLOG((LOG_ERR, "failed to unlock %s", pw_dbname()));
            /* continue */
        }
    }

    closelog();

    exit(code);
}
/*
 * fail_exit - do some cleanup and exit with the given error code
 */
do some cleanup and exit with the given error code
do some cleanup and exit with the given error code
static  void fail_exit(int code)
{
    if (pw_locked)
    {
        if (pw_unlock() == 0)
        {
            fprintf(stderr, _("%s: failed to unlock %s\n"), Prog, pw_dbname());
            SYSLOG((LOG_ERR, "failed to unlock %s", pw_dbname()));
        }
    }
    closelog();
    exit(code);
}
static void fail_exit ( int code ) { if ( pw_locked ) { if ( pw_unlock ( ) == 0 ) { fprintf ( stderr , _ ( " \n " ) , Prog , pw_dbname ( ) ) ; SYSLOG ( ( LOG_ERR , " " , pw_dbname ( ) ) ) ; } } closelog ( ) ; exit ( code ) ; }
fail_exit - do some cleanup and exit with the given error code
fail_exit - do some cleanup and exit with the given error code
/*@noreturn@*/ /* continue */