Commit 73493c1f authored by Milan Broz's avatar Milan Broz

Better use _exit() on checksum fail.

parent 65c4c62f
......@@ -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"));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment