summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--runtime/staprun/modverify.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/staprun/modverify.c b/runtime/staprun/modverify.c
index 6dc192b2..059856ee 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 */