summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Brolley <brolley@redhat.com>2009-09-04 16:25:14 -0400
committerDave Brolley <brolley@redhat.com>2009-09-04 16:25:14 -0400
commitf78b609a2bdb878d6400aeec7f06b5e963738808 (patch)
tree1cae42d7061c3015fdc06554a3351f4d985f057c
parente8d12bbfb8dcdd494b9ecd9d4d4a275d5a8c6124 (diff)
downloadsystemtap-steved-f78b609a2bdb878d6400aeec7f06b5e963738808.tar.gz
systemtap-steved-f78b609a2bdb878d6400aeec7f06b5e963738808.tar.xz
systemtap-steved-f78b609a2bdb878d6400aeec7f06b5e963738808.zip
rc = 0 should be return 0 for database not ownder by root.
-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 */