summaryrefslogtreecommitdiff
path: root/cmd/podman/images/utils_unsupported.go
diff options
context:
space:
mode:
authorQi Wang <qiwan@redhat.com>2020-07-23 15:54:12 -0400
committerQi Wang <qiwan@redhat.com>2020-08-12 10:03:41 -0400
commit49dea06037e1254a1dbe0064942e7329079388ec (patch)
tree25dd0ddb22f219e2ed6fc6e777e7d083ec27c5bb /cmd/podman/images/utils_unsupported.go
parent8eaacec150df782c291e9c6046bb0db010dd2f08 (diff)
downloadpodman-49dea06037e1254a1dbe0064942e7329079388ec.tar.gz
podman-49dea06037e1254a1dbe0064942e7329079388ec.tar.bz2
podman-49dea06037e1254a1dbe0064942e7329079388ec.zip
podman save use named pipe
podman save uses named pipe as output path, not directly using /dev/stdout. fix #7017 Signed-off-by: Qi Wang <qiwan@redhat.com>
Diffstat (limited to 'cmd/podman/images/utils_unsupported.go')
-rw-r--r--cmd/podman/images/utils_unsupported.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/cmd/podman/images/utils_unsupported.go b/cmd/podman/images/utils_unsupported.go
new file mode 100644
index 000000000..69d1df786
--- /dev/null
+++ b/cmd/podman/images/utils_unsupported.go
@@ -0,0 +1,7 @@
+// +build !linux
+
+package images
+
+func setupPipe() (string, func() <-chan error, error) {
+ return "/dev/stdout", nil, nil
+}