summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--p11-kit/modules.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/p11-kit/modules.c b/p11-kit/modules.c
index f068510..9771e6b 100644
--- a/p11-kit/modules.c
+++ b/p11-kit/modules.c
@@ -361,7 +361,7 @@ take_config_and_load_module_unlocked (char **name, hashmap **config)
if (prev) {
_p11_message ("duplicate configured module: %s: %s", mod->name, path);
free_module_unlocked (mod);
- return CKR_GENERAL_ERROR;
+ return CKR_OK;
}
/*