From: Milan Broz Date: Mon, 28 May 2012 08:31:50 +0000 (+0200) Subject: Better use _exit() on checksum fail. X-Git-Tag: upstream/1.6~272^2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=73493c1f445718c8219092d25ae6f5963c2a1365;p=platform%2Fupstream%2Fcryptsetup.git Better use _exit() on checksum fail. --- diff --git a/lib/utils_fips.c b/lib/utils_fips.c index 4ca003f..759890d 100644 --- a/lib/utils_fips.c +++ b/lib/utils_fips.c @@ -43,7 +43,7 @@ static void crypt_fips_verify(struct crypt_device *cd, if (!FIPSCHECK_verify(name, function)) { crypt_log(cd, CRYPT_LOG_ERROR, _("FIPS checksum verification failed.\n")); - exit(EXIT_FAILURE); + _exit(EXIT_FAILURE); } crypt_log(cd, CRYPT_LOG_VERBOSE, _("Running in FIPS mode.\n"));