summaryrefslogtreecommitdiffstats
path: root/twrpTar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'twrpTar.cpp')
-rw-r--r--twrpTar.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/twrpTar.cpp b/twrpTar.cpp
index b5d66d31b..968b6b9e7 100644
--- a/twrpTar.cpp
+++ b/twrpTar.cpp
@@ -21,6 +21,7 @@ extern "C" {
#include "libtar/libtar.h"
#include "twrpTar.h"
#include "tarWrite.h"
+ #include "set_metadata.h"
}
#include <sys/types.h>
#include <sys/stat.h>
@@ -1242,6 +1243,7 @@ int twrpTar::closeTar() {
LOGERR("Backup file size for '%s' is 0 bytes.\n", tarfn.c_str());
return -1;
}
+ tw_set_default_metadata(tarfn.c_str());
return 0;
}