]> git.sur5r.net Git - bacula/bacula/commitdiff
ebl small fix
authorEric Bollengier <eric@eb.homelinux.org>
Thu, 19 Jun 2008 12:50:19 +0000 (12:50 +0000)
committerEric Bollengier <eric@eb.homelinux.org>
Thu, 19 Jun 2008 12:50:19 +0000 (12:50 +0000)
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

index 65e4a90d4b99a02f0262b17fbefaaa5c6ce41caf..3bd56106c27a52821c34cffd053a327d5d9f180c 100644 (file)
@@ -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);
 +      }
 +   }
 +}