Replacing exit with return
This commit is contained in:
parent
c667083c81
commit
8a2e3d500c
@ -165,7 +165,7 @@ static void print_one (/*@null@*/const struct passwd *pw, bool force)
|
||||
tm = localtime (&fl.fail_time);
|
||||
if (!tm) {
|
||||
fprintf (stderr, "Cannot read time from faillog.\n");
|
||||
exit (EXIT_FAILURE);
|
||||
return;
|
||||
}
|
||||
#ifdef HAVE_STRFTIME
|
||||
strftime (ptime, sizeof (ptime), "%D %H:%M:%S %z", tm);
|
||||
|
Loading…
Reference in New Issue
Block a user