better format message

pull/4659/head
Medya Gh 2019-07-01 18:27:00 -07:00
parent c8876b4675
commit d269afef16
1 changed files with 1 additions and 1 deletions

View File

@ -373,7 +373,7 @@ func validateUser() {
// Check if minikube needs to run with sudo or not.
if err == nil {
if d == constants.DriverNone && u.Name != "root" {
exit.Usage("Please run with sudo. vm-driver %s requires sudo. ", constants.DriverNone)
exit.Usage("Please run with sudo. the vm-driver %q requires sudo.", constants.DriverNone)
} else if u.Name == "root" && !(d == constants.DriverHyperv || d == constants.DriverNone) {
console.OutStyle(console.WarningType, "Please don't run minikube as root or with 'sudo' privileges. It isn't necessary with %s driver.", d)