mirror of https://github.com/docker/docs.git
Adding quotes to the suggested eval
Signed-off-by: Dave Henderson <Dave.Henderson@ca.ibm.com>
This commit is contained in:
parent
cbbf0ec0eb
commit
9f98a06cdb
|
@ -750,9 +750,9 @@ func generateUsageHint(machineName string, userShell string) string {
|
|||
}
|
||||
default:
|
||||
if machineName != "" {
|
||||
cmd = fmt.Sprintf("eval $(docker-machine env %s)", machineName)
|
||||
cmd = fmt.Sprintf("eval \"$(docker-machine env %s)\"", machineName)
|
||||
} else {
|
||||
cmd = "eval $(docker-machine env)"
|
||||
cmd = "eval \"$(docker-machine env)\""
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue