Skip to content

Commit

Permalink
Merge pull request #8 from theoremoon/fix/chmod
Browse files Browse the repository at this point in the history
pretty fix
  • Loading branch information
theoremoon committed Nov 21, 2019
2 parents 81b8db1 + 424b108 commit 8c90c16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/bgproxy/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ func run() error {
}
defer conn.Close()
if grpc_split[0] == "unix" {
if err := os.Chmod(grpc_split[0], 0777); err != nil {
if err := os.Chmod(grpc_split[1], 0777); err != nil {
return err
}
}
Expand Down

0 comments on commit 8c90c16

Please sign in to comment.