* src/userdel.c, src/lastlog.c, src/gpasswd.c, src/newusers.c,
src/chpasswd.c, src/groupmems.c, src/usermod.c, src/chgpasswd.c, src/vipw.c, src/su.c, src/useradd.c, src/groupmod.c, src/passwd.c, src/groupadd.c, src/chage.c, src/faillog.c, src/chsh.c: Use booleans for tests. * src/userdel.c, src/gpasswd.c, src/groupmems.c, src/usermod.c, src/groupmod.c, src/passwd.c: Use a break even after usage().
This commit is contained in:
@@ -363,7 +363,7 @@ static void display_members (const char *const *members)
|
||||
|
||||
static void usage (int status)
|
||||
{
|
||||
FILE *usageout = status ? stderr : stdout;
|
||||
FILE *usageout = (EXIT_SUCCESS != status) ? stderr : stdout;
|
||||
(void) fprintf (usageout,
|
||||
_("Usage: %s [options] [action]\n"
|
||||
"\n"
|
||||
@@ -414,6 +414,7 @@ static void process_flags (int argc, char **argv)
|
||||
break;
|
||||
case 'h':
|
||||
usage (EXIT_SUCCESS);
|
||||
break;
|
||||
case 'l':
|
||||
list = true;
|
||||
++exclusive;
|
||||
|
||||
Reference in New Issue
Block a user