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:
Iker Pedrosa
2023-05-31 09:38:12 +02:00
committed by Iker Pedrosa
parent 3c7327842c
commit 9233e5e0ae

View File

@@ -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);
}