This commit is contained in:
ge
2026-01-26 06:10:14 +03:00
parent 3b381ba118
commit 38e266cded

View File

@@ -41,7 +41,7 @@ pub struct Passwd {
pub:
name string // username
passwd string // user password, usually set to 'x'
uid int // used ID
uid int // user ID
gid int // group ID
gecos string // user information
dir string // home directory
@@ -128,7 +128,7 @@ pub struct EntryNotFoundError {
uid int
}
// msg returns the string representation of EntryNotFoundError error.
// msg returns the EntryNotFoundError error message.
pub fn (e EntryNotFoundError) msg() string {
if e.name != '' {
return "no passwd entry found by username '${e.name}'"