Mercurial > trustbridge
changeset 1073:fa3f4e2370d3
Fix selftest it was broken during the move out of verify_binary
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Wed, 10 Sep 2014 17:54:26 +0200 |
parents | 1e429faf7c84 |
children | 8d811b030959 |
files | common/selftest.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/common/selftest.c Wed Sep 10 17:53:32 2014 +0200 +++ b/common/selftest.c Wed Sep 10 17:54:26 2014 +0200 @@ -27,7 +27,7 @@ return false; } - if (!verify_binary (utf8path, strlen(utf8path)) != VerifyValid) + if (verify_binary (utf8path, strlen(utf8path)) != VerifyValid) { ERRORPRINTF ("Verification of the binary failed"); syslog_error_printf ("Integrity check failed."); @@ -36,6 +36,7 @@ } xfree(utf8path); + return true; #else if (!verify_binary ("/proc/self/exe", 14) != VerifyValid) {