summaryrefslogtreecommitdiff
path: root/image/backends/tar.cc
diff options
context:
space:
mode:
Diffstat (limited to 'image/backends/tar.cc')
-rw-r--r--image/backends/tar.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/image/backends/tar.cc b/image/backends/tar.cc
index b05f4a5..a110acb 100644
--- a/image/backends/tar.cc
+++ b/image/backends/tar.cc
@@ -175,6 +175,12 @@ ret:
return 0;
}
+
+ void cleanup() override {
+ /* We call umount during creation to avoid including the dirs in the tarball,
+ * so we don't need the default cleanup to run. */
+ return;
+ }
};
__attribute__((constructor(400)))