From: ed Date: Mon, 9 Mar 2020 18:01:32 +0000 (+0000) Subject: Replacing exit with return X-Git-Tag: v4.9~89^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F229%2Fhead;p=thirdparty%2Fshadow.git Replacing exit with return --- diff --git a/src/faillog.c b/src/faillog.c index 3ab48db36..e2c783834 100644 --- a/src/faillog.c +++ b/src/faillog.c @@ -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);