From 5da8ce211a48b6e3c0c74a41bf78c0f12cb32096 Mon Sep 17 00:00:00 2001 From: Olof hagsand Date: Thu, 2 Feb 2023 16:07:35 +0100 Subject: [PATCH] Patch of previous commit: ca_reset plugin --- apps/backend/backend_main.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/apps/backend/backend_main.c b/apps/backend/backend_main.c index a1f35ce7..430d32cd 100644 --- a/apps/backend/backend_main.c +++ b/apps/backend/backend_main.c @@ -905,13 +905,8 @@ main(int argc, goto done; case SM_NONE: /* Fall through * * Load plugins and call plugin_init() */ - if (xmldb_db_reset(h, "tmp") < 0) + if ((ret = startup_extraxml(h, NULL, cbret)) < 0) goto done; - if (clixon_plugin_reset_all(h, "tmp") < 0) - goto done; - /* Copy tmp to running after reset where extra xml may have been introduced */ - if (xmldb_copy(h, "tmp", "running") < 0) - goto done; status = STARTUP_OK; break; case SM_RUNNING: /* Use running as startup */