Skip to content

Commit a760292

Browse files
authored
Merge branch 'master' into master
2 parents e23247c + ef4b683 commit a760292

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

netshare/netshare.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ import (
55
"os"
66
"path/filepath"
77
"strconv"
8-
98
"github.com/dmaj/docker-volume-netshare/netshare/drivers"
109
log "github.com/Sirupsen/logrus"
1110
"github.com/docker/go-plugins-helpers/volume"
1211
"github.com/spf13/cobra"
12+
"syscall"
1313
)
1414

1515
const (
@@ -239,7 +239,7 @@ func start(dt drivers.DriverType, driver volume.Driver) {
239239
}
240240
fmt.Println(h.ServeTCP(dt.String(), addr, nil))
241241
} else {
242-
fmt.Println(h.ServeUnix(dt.String(), int(dt)))
242+
fmt.Println(h.ServeUnix(dt.String(), syscall.Getgid()))
243243
}
244244
}
245245

0 commit comments

Comments
 (0)