newusers: Improve error message
Fixes: b422e3c316: Check if crypt_method null before dereferencing
Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
This commit is contained in:
committed by
Iker Pedrosa
parent
3c7327842c
commit
9233e5e0ae
@@ -665,7 +665,7 @@ static void process_flags (int argc, char **argv)
|
||||
|
||||
if (!crypt_method){
|
||||
fprintf(stderr,
|
||||
_("%s: Provide '--crypt-method'\n"),
|
||||
_("%s: Provide '--crypt-method' before number of rounds\n"),
|
||||
Prog);
|
||||
usage (EXIT_FAILURE);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user