mirror of
https://github.com/containers/podman.git
synced 2025-05-19 16:18:51 +08:00
Fix spelling "setup" -> "set up" and similar
* Replace "setup", "lookup", "cleanup", "backup" with "set up", "look up", "clean up", "back up" when used as verbs. Replace also variations of those. * Improve language in a few places. Signed-off-by: Erik Sjölund <erik.sjolund@gmail.com>
This commit is contained in:
@ -73,7 +73,7 @@ func getUserInfo(name string) (string, string, string, error) {
|
||||
entry := readCapped(output)
|
||||
elements := strings.Split(entry, ":")
|
||||
if len(elements) < 9 || elements[0] != name {
|
||||
return "", "", "", errors.New("Could not lookup user")
|
||||
return "", "", "", errors.New("Could not look up user")
|
||||
}
|
||||
|
||||
return elements[0], elements[2], elements[8], nil
|
||||
@ -90,7 +90,7 @@ func getUser() (string, string, string, error) {
|
||||
|
||||
_, uid, home, err := getUserInfo(name)
|
||||
if err != nil {
|
||||
return "", "", "", fmt.Errorf("could not lookup user: %s", name)
|
||||
return "", "", "", fmt.Errorf("could not look up user: %s", name)
|
||||
}
|
||||
id, err := strconv.Atoi(uid)
|
||||
if err != nil {
|
||||
|
Reference in New Issue
Block a user