From f78b609a2bdb878d6400aeec7f06b5e963738808 Mon Sep 17 00:00:00 2001 From: Dave Brolley Date: Fri, 4 Sep 2009 16:25:14 -0400 Subject: [PATCH] rc = 0 should be return 0 for database not ownder by root. --- runtime/staprun/modverify.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/staprun/modverify.c b/runtime/staprun/modverify.c index 6dc192b2e..059856ee1 100644 --- a/runtime/staprun/modverify.c +++ b/runtime/staprun/modverify.c @@ -146,7 +146,7 @@ check_cert_db_permissions (const char *cert_db_path) { if (info.st_uid != 0) { fprintf (stderr, "Certificate database directory %s must be owned by root.\n", cert_db_path); - rc = 0; + return 0; } rc = 1; /* ok */ -- 2.43.5