We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e23247c + ef4b683 commit a760292Copy full SHA for a760292
netshare/netshare.go
@@ -5,11 +5,11 @@ import (
5
"os"
6
"path/filepath"
7
"strconv"
8
-
9
"github.com/dmaj/docker-volume-netshare/netshare/drivers"
10
log "github.com/Sirupsen/logrus"
11
"github.com/docker/go-plugins-helpers/volume"
12
"github.com/spf13/cobra"
+ "syscall"
13
)
14
15
const (
@@ -239,7 +239,7 @@ func start(dt drivers.DriverType, driver volume.Driver) {
239
}
240
fmt.Println(h.ServeTCP(dt.String(), addr, nil))
241
} else {
242
- fmt.Println(h.ServeUnix(dt.String(), int(dt)))
+ fmt.Println(h.ServeUnix(dt.String(), syscall.Getgid()))
243
244
245
0 commit comments