diff options
Diffstat (limited to 'cmd/gitaly-wrapper')
-rw-r--r-- | cmd/gitaly-wrapper/main.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/gitaly-wrapper/main.go b/cmd/gitaly-wrapper/main.go index 20d491058..e31c9e2e0 100644 --- a/cmd/gitaly-wrapper/main.go +++ b/cmd/gitaly-wrapper/main.go @@ -6,7 +6,7 @@ import ( "os" "os/exec" "os/signal" - "path" + "path/filepath" "strconv" "syscall" "time" @@ -152,7 +152,7 @@ func isGitaly(p *os.Process, gitalyBin string) bool { return false } - if path.Base(command) == path.Base(gitalyBin) { + if filepath.Base(command) == filepath.Base(gitalyBin) { return true } |