Skip to content

Commit

Permalink
Fix logic flaw in builder.mergeConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
titanous committed May 15, 2013
1 parent d586662 commit 04748a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ func (builder *Builder) mergeConfig(userConf, imageConf *Config) {
userConf.PortSpecs = imageConf.PortSpecs
}
if !userConf.Tty {
userConf.Tty = userConf.Tty
userConf.Tty = imageConf.Tty
}
if !userConf.OpenStdin {
userConf.OpenStdin = imageConf.OpenStdin
Expand Down

0 comments on commit 04748a7

Please sign in to comment.