Skip to content

Commit

Permalink
fix: Improved clarity in explanation by removing awkward 'normally' w…
Browse files Browse the repository at this point in the history
…ording

The text now states the purpose directly, which is clearer for users.
  • Loading branch information
wazum committed Nov 14, 2024
1 parent 6c258b7 commit 2c2ec2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/ddevapp/hostname_mgt.go
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ func runCommandWithSudo(args []string) (out string, err error) {
c = []string{"gsudo.exe"}
}
c = append(c, args...)
output.UserOut.Printf("DDEV needs to run with administrative privileges.\nThis is normally to add unresolvable hostnames to the hosts file.\nYou may be required to enter your password for sudo or allow escalation.\nDDEV is about to issue the command:\n %s\n", strings.Join(c, ` `))
output.UserOut.Printf("DDEV needs to run with administrative privileges.\nThis is required to add unresolvable hostnames to the hosts file.\nYou may be required to enter your password for sudo or allow escalation.\nDDEV is about to issue the command:\n %s\n", strings.Join(c, ` `))

out, err = exec.RunHostCommand(c[0], c[1:]...)
return out, err
Expand Down

0 comments on commit 2c2ec2c

Please sign in to comment.