Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-pages.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfeistel <6742251-feistel@users.noreply.gitlab.com>2021-05-21 03:46:28 +0300
committerfeistel <6742251-feistel@users.noreply.gitlab.com>2021-05-21 03:46:28 +0300
commit188436dd8b9ba583c66db13580c14312bec15259 (patch)
treeb716d8843c2fad21e4c2c86bc44877490cd39b99 /daemon.go
parent64a0f90dfbe5d255b1fb7df0aa481575037694a1 (diff)
Remove osext
Diffstat (limited to 'daemon.go')
-rw-r--r--daemon.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/daemon.go b/daemon.go
index c2a995d8..8a6be8b3 100644
--- a/daemon.go
+++ b/daemon.go
@@ -12,7 +12,6 @@ import (
"strings"
"syscall"
- "github.com/kardianos/osext"
log "github.com/sirupsen/logrus"
"gitlab.com/gitlab-org/gitlab-pages/internal/config"
@@ -53,7 +52,7 @@ func daemonMain() {
}
func daemonReexec(uid, gid uint, args ...string) (cmd *exec.Cmd, err error) {
- path, err := osext.Executable()
+ path, err := os.Executable()
if err != nil {
return
}