/*
Bacula® - The Network Backup Solution
- Copyright (C) 2000-2008 Free Software Foundation Europe e.V.
+ Copyright (C) 2000-2009 Free Software Foundation Europe e.V.
The main author of Bacula is Kern Sibbald, with contributions from
many others, a complete list can be found in the file AUTHORS.
jcr->PreferMountedVols = PreferMountedVols;
jcr->authenticated = false;
- jcr->need_fd = true;
/*
* Pass back an authorization key for the File daemon
/* If we do not need the FD, we are doing a migrate, copy, or virtual
* backup.
*/
- if (!jcr->need_fd) {
+ if (jcr->no_client_used()) {
do_mac(jcr);
return false;
}
free_bsr(jcr->bsr);
jcr->bsr = NULL;
}
+ /* Free any restore volume list created */
+ free_restore_volume_list(jcr);
if (jcr->RestoreBootstrap) {
unlink(jcr->RestoreBootstrap);
free_pool_memory(jcr->RestoreBootstrap);