From 78802f0faaecf1d60d32b4f08b95dd8062245547 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Sat, 18 Oct 2008 06:02:19 +0000 Subject: [PATCH] Fix extract typo git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@7835 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/src/filed/restore.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) { -- 2.39.5