summaryrefslogtreecommitdiff
path: root/pkg/copy/copy.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/copy/copy.go')
-rw-r--r--pkg/copy/copy.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/pkg/copy/copy.go b/pkg/copy/copy.go
index 0e68eb450..3993b532e 100644
--- a/pkg/copy/copy.go
+++ b/pkg/copy/copy.go
@@ -114,7 +114,6 @@ func enforceCopyRules(source, destination *CopyItem) error {
return nil
}
- // Source is a *stream*.
if source.info.IsStream {
if !(destination.info.IsDir || destination.info.IsStream) {
return errors.New("destination must be a directory or stream when copying from a stream")