Skip to content

Commit

Permalink
End stream from source ends.
Browse files Browse the repository at this point in the history
  • Loading branch information
kishorenc committed Oct 5, 2013
1 parent efd0844 commit ffbb570
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/docker.js
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ Docker.prototype.run = function(image, cmd, streamo, temporary, callback) {
if(err) callback(err, data);

if(streamo) {
stream.pipe(streamo, {end: false});
stream.pipe(streamo, {end: true});
}

container.wait(function(err, data) {
Expand Down

0 comments on commit ffbb570

Please sign in to comment.