summaryrefslogtreecommitdiff
path: root/buildstream/sandbox/_sandboxbwrap.py
diff options
context:
space:
mode:
Diffstat (limited to 'buildstream/sandbox/_sandboxbwrap.py')
-rw-r--r--buildstream/sandbox/_sandboxbwrap.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildstream/sandbox/_sandboxbwrap.py b/buildstream/sandbox/_sandboxbwrap.py
index d18cb9ec0..798bcb690 100644
--- a/buildstream/sandbox/_sandboxbwrap.py
+++ b/buildstream/sandbox/_sandboxbwrap.py
@@ -207,7 +207,7 @@ class SandboxBwrap(Sandbox):
# Skip removal of directories which already existed before
# launching bwrap
- if not existing_basedirs[basedir]:
+ if existing_basedirs[basedir]:
continue
base_directory = os.path.join(root_mount_source, basedir)