diff --git a/src/usermod.c b/src/usermod.c index 3f675e9e..2e548a02 100644 --- a/src/usermod.c +++ b/src/usermod.c @@ -791,8 +791,9 @@ static void process_flags (int argc, char **argv) bool anyflag = false; - if ((1 == argc) || ('-' == argv[argc - 1][0])) + if ((1 == argc) || ('-' == argv[argc - 1][0])) { usage (); + } { const struct passwd *pwd;