From: Kern Sibbald Date: Sat, 18 Oct 2008 06:02:19 +0000 (+0000) Subject: Fix extract typo X-Git-Tag: Release-3.0.0~763 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b8ddd8fd2a30e1c684ddfba41381a4101a30db9e;p=bacula%2Fbacula Fix extract typo git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@7835 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/src/filed/restore.c b/bacula/src/filed/restore.c index be581c448c..0fc635e39f 100644 --- a/bacula/src/filed/restore.c +++ b/bacula/src/filed/restore.c @@ -579,7 +579,7 @@ void do_restore(JCR *jcr) * b) and it is not a directory (they are never "extracted") * c) or the file name is empty */ - if ((!extract && jcr->last_type != FT_DIREND) || (*jcr->last_fname == 0)) { + if ((!rctx.extract && jcr->last_type != FT_DIREND) || (*jcr->last_fname == 0)) { break; } if (have_acl) { @@ -594,7 +594,7 @@ void do_restore(JCR *jcr) break; case STREAM_UNIX_DEFAULT_ACL: - if ((!extract && jcr->last_type != FT_DIREND) || (*jcr->last_fname == 0)) { + if ((!rctx.extract && jcr->last_type != FT_DIREND) || (*jcr->last_fname == 0)) { break; } if (have_acl) {