From: Tomas Mraz Date: Thu, 16 Dec 2010 10:45:17 +0000 (+0100) Subject: Missing exit if cron_init_security() fails. X-Git-Tag: cronie1.4.7~27 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ac70de36ec6c403c28291689701bd2567c565107;p=cronie Missing exit if cron_init_security() fails. --- diff --git a/src/cron.c b/src/cron.c index ac9bba7..be9cb8b 100644 --- a/src/cron.c +++ b/src/cron.c @@ -200,6 +200,7 @@ int main(int argc, char *argv[]) { if (cron_init_security() < 0) { log_it("CRON", pid, "DEATH", "Critical security parameters not initialized", 0); + exit(1); } /* Get the default locale character set for the mail