Skip to content

Commit

Permalink
Merge pull request #10154 from tianon/fix-x-usage
Browse files Browse the repository at this point in the history
Fix "-X" 6l usage ("define string data")
  • Loading branch information
Jessie Frazelle committed Jan 17, 2015
2 parents 78b7a48 + da01690 commit 4245952
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dockerversion/dockerversion.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ var (
GITCOMMIT string
VERSION string

IAMSTATIC bool // whether or not Docker itself was compiled statically via ./hack/make.sh binary
IAMSTATIC string // whether or not Docker itself was compiled statically via ./hack/make.sh binary ("true" or not "true")
INITSHA1 string // sha1sum of separate static dockerinit, if Docker itself was compiled dynamically via ./hack/make.sh dynbinary
INITPATH string // custom location to search for a valid dockerinit binary (available for packagers as a last resort escape hatch)
)
2 changes: 1 addition & 1 deletion utils/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ func isValidDockerInitPath(target string, selfPath string) bool { // target and
if target == "" {
return false
}
if dockerversion.IAMSTATIC {
if dockerversion.IAMSTATIC == "true" {
if selfPath == "" {
return false
}
Expand Down

0 comments on commit 4245952

Please sign in to comment.