diff options
Diffstat (limited to 'src/nshd/hackers_git/hackers_parse.go')
-rw-r--r-- | src/nshd/hackers_git/hackers_parse.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nshd/hackers_git/hackers_parse.go b/src/nshd/hackers_git/hackers_parse.go index a9a03f3..858347e 100644 --- a/src/nshd/hackers_git/hackers_parse.go +++ b/src/nshd/hackers_git/hackers_parse.go @@ -26,7 +26,7 @@ func filename2uid(filename string) int32 { var usersGid = name2gid("users") -func load_user_yaml(filename string) (ret user, err error) { +func parse_user_yaml(filename string) (ret user, err error) { ret.passwd.UID = filename2uid(filename) if ret.passwd.UID < 0 { @@ -107,7 +107,7 @@ func load_user_yaml(filename string) (ret user, err error) { return } -func load_user_password(filename string) (hash string) { +func parse_user_password(filename string) (hash string) { hash = "!" file, err := os.Open(filename) if err != nil { |