From: Todd C. Miller Date: Fri, 8 Oct 1999 01:12:02 +0000 (+0000) Subject: The exit() in log_error() was mistakenly removed in a previous version. X-Git-Tag: SUDO_1_6_0~47 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1296f288458c968e720fb4bd27acc39a2fc90240;p=sudo The exit() in log_error() was mistakenly removed in a previous version. Put it back... --- diff --git a/logging.c b/logging.c index b9f600472..224fa4d8a 100644 --- a/logging.c +++ b/logging.c @@ -387,6 +387,9 @@ log_error(va_alist) free(logline); if (message != logline); free(message); + + if (!(flags & NO_EXIT)) + exit(1); } #define MAX_MAILFLAGS 63