Skip to content

Commit fe61baa

Browse files
authored
Merge pull request #1 from nimbolus/fix-socket-gid
fix: set socket gid to gid of the current process
2 parents 43abf54 + eef84b1 commit fe61baa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

driver/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ func main() {
141141
}
142142

143143
logrus.Info("Start serving on UNIX socket...")
144-
if err := h.ServeUnix("cinder", 0); err != nil {
144+
if err := h.ServeUnix("cinder", os.Getgid()); err != nil {
145145
panic(err)
146146
}
147147
}

0 commit comments

Comments
 (0)