Adding quotes to the suggested eval

Signed-off-by: Dave Henderson <Dave.Henderson@ca.ibm.com>
This commit is contained in:
Dave Henderson 2015-04-08 13:48:26 -04:00
parent cbbf0ec0eb
commit 9f98a06cdb
1 changed files with 2 additions and 2 deletions

View File

@ -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)\""
}
}