diff options
author | feistel <6742251-feistel@users.noreply.gitlab.com> | 2021-05-21 03:46:28 +0300 |
---|---|---|
committer | feistel <6742251-feistel@users.noreply.gitlab.com> | 2021-05-21 03:46:28 +0300 |
commit | 188436dd8b9ba583c66db13580c14312bec15259 (patch) | |
tree | b716d8843c2fad21e4c2c86bc44877490cd39b99 /daemon.go | |
parent | 64a0f90dfbe5d255b1fb7df0aa481575037694a1 (diff) |
Remove osext
Diffstat (limited to 'daemon.go')
-rw-r--r-- | daemon.go | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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 } |