* src/groupmems.c: Avoid mixed declarations and code.

This commit is contained in:
nekral-guest 2008-08-31 17:29:17 +00:00
parent 81e1dbc90e
commit 046fe0cfe0
2 changed files with 3 additions and 0 deletions

View File

@ -5,6 +5,7 @@
* src/groupmems.c: Do not fail and do not display warnings if a
close failure happens with the --list option. (Files are opened
read-only).
* src/groupmems.c: Avoid mixed declarations and code.
2008-08-29 Nicolas François <nicolas.francois@centraliens.net>

View File

@ -272,6 +272,7 @@ static void process_flags (int argc, char **argv)
static void check_perms (void)
{
if (!list) {
#ifdef USE_PAM
pam_handle_t *pamh = NULL;
int retval = PAM_SUCCESS;
@ -299,6 +300,7 @@ static void check_perms (void)
fail_exit (1);
}
#endif
}
}
static void fail_exit (int code)