From f693d65c2e6a356fbfebc5d7b1fb69b89efde8fe Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Thu, 19 Jun 2008 12:50:19 +0000 Subject: [PATCH] ebl small fix git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@7175 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/patches/testing/cleanup_CR_catalog_at_start.patch | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bacula/patches/testing/cleanup_CR_catalog_at_start.patch b/bacula/patches/testing/cleanup_CR_catalog_at_start.patch index 65e4a90d4b..3bd56106c2 100644 --- a/bacula/patches/testing/cleanup_CR_catalog_at_start.patch +++ b/bacula/patches/testing/cleanup_CR_catalog_at_start.patch @@ -32,7 +32,7 @@ Index: src/dird/dird.c Dmsg0(200, "Start UA server\n"); start_UA_server(director->DIRaddrs); -@@ -881,6 +884,37 @@ +@@ -881,6 +884,38 @@ return OK; } @@ -62,7 +62,8 @@ Index: src/dird/dird.c + } + + } else { /* connection is OK */ -+ db_cleanup_job_record(NULL, db); /* check if jobs are running ?? */ ++ db_cleanup_job_record(NULL, db); /* check if jobs are running ?? */ ++ db_close_database(NULL, db); + } + } +} -- 2.39.5