aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/pkg/tar.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/pkg/tar.go')
-rw-r--r--internal/pkg/tar.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/internal/pkg/tar.go b/internal/pkg/tar.go
index f1861edd..60b23e81 100644
--- a/internal/pkg/tar.go
+++ b/internal/pkg/tar.go
@@ -172,6 +172,13 @@ func (a *tarArtifact) Cure(t *TContext) (err error) {
}
break
+ case tar.TypeChar:
+ t.GetMessage().Verbosef(
+ "skipping character device %d, %d %q",
+ header.Devmajor, header.Devminor, header.Name,
+ )
+ continue
+
case tar.TypeXGlobalHeader:
continue // ignore