From: Landon Fuller Date: Sat, 25 Nov 2006 18:57:54 +0000 (+0000) Subject: Extraction must be disabled here, as it can not be done without access to the keys. X-Git-Tag: Release-7.0.0~7332 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=cd81755b57ee917b868d721f83e37149984ec9b5;p=bacula%2Fbacula Extraction must be disabled here, as it can not be done without access to the keys. git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3701 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/src/filed/restore.c b/bacula/src/filed/restore.c index bd24f234ea..9ccf22e905 100644 --- a/bacula/src/filed/restore.c +++ b/bacula/src/filed/restore.c @@ -365,6 +365,8 @@ void do_restore(JCR *jcr) /* Do we have any keys at all? */ if (!jcr->pki_recipients) { Jmsg(jcr, M_ERROR, 0, _("No private decryption keys have been defined to decrypt encrypted backup data.\n")); + extract = false; + bclose(&bfd); break; }