make sure pty.Close() will be called and fix comment

Signed-off-by: tjucoder <chinesecoder@foxmail.com>
This commit is contained in:
tjucoder
2020-07-05 12:10:47 +08:00
parent 1b94395c06
commit ab35cfe23c
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -60,7 +60,7 @@ type Group struct {
// groupFromOS converts an os/user.(*Group) to local Group
//
// (This does not include Pass, Shell or Gecos)
// (This does not include Pass or List)
func groupFromOS(g *user.Group) (Group, error) {
newGroup := Group{
Name: g.Name,